digitalmars.D.bugs - [Issue 3220] New: Compile time union crash when passed to template
- d-bugmail puremagic.com (25/25) Jul 31 2009 http://d.puremagic.com/issues/show_bug.cgi?id=3220
- d-bugmail puremagic.com (14/14) Aug 18 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3220
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: nobody puremagic.com
ReportedBy: jeremiep gmail.com
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: -------
Jul 31 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3220
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Status|NEW |RESOLVED
CC| |clugdbug yahoo.com.au
Resolution| |FIXED
Fixed in DMD2.040. Probably a duplicate -- several crashing bugs were fixed in
that release.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 18 2010








d-bugmail puremagic.com