June 13, 2008 [Issue 2149] New: Auto variables loose the keyword "auto" in di files generated with -H option. | ||||
---|---|---|---|---|
| ||||
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 -- |
June 20, 2008 [Issue 2149] Auto variables loose the keyword "auto" in di files generated with -H option. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2149 johnkirollos@yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from johnkirollos@yahoo.com 2008-06-20 05:23 ------- Fixed in D versions 2.015 & 1.031. -- |
Copyright © 1999-2021 by the D Language Foundation