digitalmars.D.bugs - [Issue 10651] New: Throwing non-Throwable object causes ICE
- d-bugmail puremagic.com (27/27) Jul 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10651
- d-bugmail puremagic.com (10/10) Jul 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10651
- d-bugmail puremagic.com (11/11) Jul 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10651
- d-bugmail puremagic.com (10/10) Jul 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10651
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: nobody puremagic.com
ReportedBy: k.hara.pg gmail.com
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: -------
Jul 15 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10651
Kenji Hara <k.hara.pg gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
https://github.com/D-Programming-Language/dmd/pull/2350
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 15 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10651 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/4a3faa1be01d9518aa5286f686f8927689bc4d7d fix Issue 10651 - Throwing non-Throwable object causes ICE https://github.com/D-Programming-Language/dmd/commit/0627f87bbd34db8493d21c8d88c32fef49065980 Issue 10651 - Throwing non-Throwable object causes ICE -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 15 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10651
yebblies <yebblies gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |yebblies gmail.com
Resolution| |FIXED
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 15 2013









d-bugmail puremagic.com 