https://issues.dlang.org/show_bug.cgi?id=11847
--- Comment #12 from Martin Nowak ---
Weird, only seems to fail for top-level packages, but not for nested `std.pkg`
and `std.pkg.mod` cases.
--
https://issues.dlang.org/show_bug.cgi?id=11847
Vladimir Panteleev changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=11847
Vladimir Panteleev changed:
What|Removed |Added
See Also|
https://issues.dlang.org/show_bug.cgi?id=11847
--- Comment #10 from cpierrot...@gmail.com ---
I have found out that renamed imports in the can be used as a workaround:
test/package.d
---
module test;
import mod = test.mod;
---
test/mod.d
---
module test.mod;
import std.stdio;
void
https://issues.dlang.org/show_bug.cgi?id=11847
Maksim Zholudev changed:
What|Removed |Added
CC||maxim...@gmail.com
https://issues.dlang.org/show_bug.cgi?id=11847
ZombineDev changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=11847
Nick Sabalausky cbkbbej...@mailinator.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=11847
sigod sigod.m...@gmail.com changed:
What|Removed |Added
CC||sigod.m...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=11847
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #5 from
https://issues.dlang.org/show_bug.cgi?id=11847
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
https://issues.dlang.org/show_bug.cgi?id=11847
--- Comment #7 from Jonathan M Davis jmdavisp...@gmx.com ---
Also, keep in mind that the whole reason to add package.d to the language in
the first place was to be able to break up a module into a package, in which
case, it's intended as a migration
https://d.puremagic.com/issues/show_bug.cgi?id=11847
--- Comment #2 from S�nke Ludwig slud...@outerproduct.org 2014-01-05 01:08:27
PST ---
So how would I specify a qualified name in test.mod?
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
https://d.puremagic.com/issues/show_bug.cgi?id=11847
--- Comment #3 from Kenji Hara k.hara...@gmail.com 2014-01-05 01:19:53 PST ---
(In reply to comment #2)
So how would I specify a qualified name in test.mod?
There's no way, if you import both test/package.d and test/mod.d.
I think it is
https://d.puremagic.com/issues/show_bug.cgi?id=11847
--- Comment #4 from S�nke Ludwig slud...@outerproduct.org 2014-01-05 01:55:42
PST ---
I think this is actually totally unacceptable and a *serious* design flaw. What
this means is that it is now impossible to reference any sub module of test
https://d.puremagic.com/issues/show_bug.cgi?id=11847
--- Comment #1 from Kenji Hara k.hara...@gmail.com 2014-01-04 23:24:21 PST ---
(In reply to comment #0)
The following errors out with main.d(5): Error: undefined identifier 'mod':
main.d
---
import test;
import test.mod;
void main()
15 matches
Mail list logo