digitalmars.D.bugs - [Issue 11703] New: Typedef!int(1).max is int
- d-bugmail puremagic.com (34/34) Dec 07 2013 https://d.puremagic.com/issues/show_bug.cgi?id=11703
https://d.puremagic.com/issues/show_bug.cgi?id=11703 Summary: Typedef!int(1).max is int Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc void main() { import std.typecons: Typedef; alias T = Typedef!int; T m; pragma(msg, typeof(m)); auto m1 = T.min; pragma(msg, typeof(m1)); auto m2 = T.max; pragma(msg, typeof(m2)); } dmd 2.065alpha prints: Typedef!(int, 0) int int Expected: Typedef!(int, 0) Typedef!(int, 0) Typedef!(int, 0) -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 07 2013