Thread overview | |||||
---|---|---|---|---|---|
|
October 30, 2011 [Issue 6866] New: ICE(mtype.c): alias this and inout matching | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6866 Summary: ICE(mtype.c): alias this and inout matching Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: k.hara.pg@gmail.com --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2011-10-30 07:00:44 PDT --- struct S { const(char)[] val; alias val this; } inout(char)[] foo(inout(char)[] s) { return s; } void main() { S s; static assert(is(typeof(foo(s)) == const(char)[])); // Assertion failure: 'targ' on line 2029 in file 'mtype.c' } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 30, 2011 [Issue 6866] ICE(mtype.c): alias this and inout matching | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=6866 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid |ice-on-valid-code, patch --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2011-10-30 07:53:23 PDT --- https://github.com/D-Programming-Language/dmd/pull/481 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 31, 2011 [Issue 6866] ICE(mtype.c): alias this and inout matching | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=6866 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2011-10-31 12:11:42 PDT --- https://github.com/D-Programming-Language/dmd/commit/3448ffd1b407453aba647da5f0435f648cfbe04f -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation