digitalmars.D.bugs - [Issue 11822] New: `-de` switch causees ICE with `auto` return and other stuff
- d-bugmail puremagic.com (41/41) Dec 26 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11822
- d-bugmail puremagic.com (12/12) Dec 26 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11822
- d-bugmail puremagic.com (6/6) Jan 02 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11822
- d-bugmail puremagic.com (10/10) Jan 11 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11822
- d-bugmail puremagic.com (11/11) Jan 12 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11822
- d-bugmail puremagic.com (9/9) Jan 12 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11822
https://d.puremagic.com/issues/show_bug.cgi?id=11822 Summary: `-de` switch causees ICE with `auto` return and other stuff Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: verylonglogin.reg gmail.com 16:19:22 MSK --- This code should be rejected to compile with `-de` switch: --- struct S(alias pred) { this(int) { pred(1); } void f() { pred(1); } } auto g(alias pred)() { return S!pred(1); } deprecated bool d(int) { return true; } auto h() { int i; return g!(n => d(i))(); } --- main.d(16): Deprecation: function main.d is deprecated main.d(8): instantiated from here: S!(__lambda1) main.d(16): instantiated from here: g!((n) => d(i)) main.d(16): Error: template instance main.h.g!((n) => d(i)) error instantiating Assertion failure: 'type->ty == Tfunction' on line 3178 in file 'func.c' --- -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 26 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11822 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Severity|normal |regression https://github.com/D-Programming-Language/dmd/pull/3034 This is a regression in 2.065alpha. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 26 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11822 *** Issue 11857 has been marked as a duplicate of this issue. *** -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 02 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11822 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla digitalmars.com 13:22:50 PST --- https://github.com/D-Programming-Language/dmd/pull/3081 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 11 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11822 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/73b477b46be16c8896c5306027577f6ddbdd26ce fix Issue 11822 - switch causees ICE with return and other stuff https://github.com/D-Programming-Language/dmd/commit/24c1dff4856983533e813b89c1d8adf9492936d0 fix Issue 11822 - switch causes ICE with return and other stuff -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 12 2014
https://d.puremagic.com/issues/show_bug.cgi?id=11822 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: -------
Jan 12 2014