digitalmars.D.bugs - [Issue 12497] New: [REG2.064] ICE on string mixin with non-string operand
- d-bugmail puremagic.com (40/40) Mar 31 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12497
- d-bugmail puremagic.com (10/10) Mar 31 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12497
- d-bugmail puremagic.com (11/11) Mar 31 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12497
- d-bugmail puremagic.com (9/9) Mar 31 2014 https://d.puremagic.com/issues/show_bug.cgi?id=12497
https://d.puremagic.com/issues/show_bug.cgi?id=12497 Summary: [REG2.064] ICE on string mixin with non-string operand Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid, ice Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com Test case: void foo() {} void main() { struct S { mixin(foo()); // MixinDeclaration } mixin(foo()); // MixinStatement } With 2.063: test.d(6): Error: cannot evaluate foo() at compile time test.d(6): Error: argument to mixin must be a string, not (foo()) test.d(8): Error: cannot evaluate foo() at compile time test.d(8): Error: argument to mixin must be a string, not (foo()) test.d(8): Error: cannot evaluate foo() at compile time test.d(8): Error: argument to mixin must be a string, not (foo()) With 2.064: (no error) With 2.065: Assertion failure: 'global.gaggedErrors || global.errors' on line 293 in file 'statement.c' abnormal program termination -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 31 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12497 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/3413 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 31 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12497 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/aac09e539f7c3d9bd882d05f5c331f64733c6a29 fix Issue 12497 - ICE on string mixin with non-string operand https://github.com/D-Programming-Language/dmd/commit/75159e4555bcbf3e7e07227348e44f7f32c59ff6 [REG2.064] Issue 12497 - ICE on string mixin with non-string operand -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 31 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12497 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 31 2014