http://d.puremagic.com/issues/show_bug.cgi?id=10651
Summary: Throwing non-Throwable object causes ICE Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: ice Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2013-07-15 19:08:19 PDT --- Code: void main() { alias T = int; throw new T(); // ICE } Output: test.d(4): Error: can only throw class objects derived from Throwable, not type int* assert statement.c(4894) cd -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------