[Issue 9303] New: ICE: (1235 in file 'glue.c') with property switch
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 12 10:40:23 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9303
Summary: ICE: (1235 in file 'glue.c') with property switch
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-12 10:40:22 PST ---
This is invalid code, but it ICEs:
mixin template T()
{
string fact()
{
return test.main.T!().fact();
}
}
void main()
{
mixin T!() X;
}
$ dmd -property test.d
It only ICEs with the -property flag.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list