September 17, 2005 symbol resolution bug in "with" block (dmd 0.131 win32) | ||||
---|---|---|---|---|
| ||||
import std.stdio; class C{ import std.stdio; //if this line is removed, the code compiles. } void main(){ with(new C) std.stdio.writef(""); } |
September 17, 2005 Re: symbol resolution bug in "with" block (dmd 0.131 win32) | ||||
---|---|---|---|---|
| ||||
Posted in reply to zwang Attachments: | zwang schrieb: > import std.stdio; > > class C{ > import std.stdio; //if this line is removed, the code compiles. > } > > void main(){ > with(new C) > std.stdio.writef(""); > } Added to DStress as http://dstress.kuehne.cn/run/i/import_08_A.d http://dstress.kuehne.cn/run/i/import_08_B.d http://dstress.kuehne.cn/run/i/import_08_C.d (http://dstress.kuehne.cn/addon/i/import_08_Z.d) Thomas |
Copyright © 1999-2021 by the D Language Foundation