[Issue 6277] Disallow short floating point literals
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 11 10:00:55 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6277
--- Comment #4 from bearophile_hugs at eml.cc 2011-07-11 09:55:45 PDT ---
Steven Schveighoffer reminds this is probably OK (this compiles with DMD
2.054):
void main() {
auto x = 1f;
static assert(is(typeof(x) == float));
}
--
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