digitalmars.D.bugs - [Issue 2149] New: Auto variables loose the keyword "auto" in di files generated with -H option.
- d-bugmail puremagic.com (32/32) Jun 13 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2149
- d-bugmail puremagic.com (9/9) Jun 20 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2149
http://d.puremagic.com/issues/show_bug.cgi?id=2149 Summary: Auto variables loose the keyword "auto" in di files generated with -H option. Product: D Version: 2.014 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity: minor Priority: P3 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: johnkirollos yahoo.com When generating an interface file using the -H option for a class like this class Point { auto x = 10; uint y = 20; } The generated interface file misses the "auto" keyword: // D import file generated from 'point.d' class Point { x = 10; uint y = 20; } This causes compilation errors when using this interface file: no identifier for declarator x Error: identifier 'x' is not defined Error: x is used as a type variable voids have no value --
Jun 13 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2149 johnkirollos yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed in D versions 2.015 & 1.031. --
Jun 20 2008