http://d.puremagic.com/issues/show_bug.cgi?id=3220
Summary: Compile time union crash when passed to template
Product: D
Version: 2.031
Platform: All
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
The following crashes DMD when trying to convert floating point to integral at
compile time using an union:
---
import std.metastrings;
union A {
double x;
int y;
}
alias ToString!(A(5.2).y) B; // Crashes here
---
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------