[Issue 12398] Selective imports no longer act as static imports
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 18 06:50:27 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12398
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2014-03-18 06:50:24 PDT ---
(In reply to comment #0)
> ////////// test.d /////////
> import std.stream : Stream;
>
> void main()
> {
> std.stream.File f;
> }
> ///////////////////////////
>
> I don't see any purpose for this breakage.
What's changed? With 2.065:
test.d(5): Error: undefined identifier std.stream.File
With git-head:
test.d(5): Error: undefined identifier 'File'
test.d(5): Error: std.stream.File is used as a type
Excepting the minor diagnostic change, the failing compilation is the expected
result.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list