digitalmars.D - Module bug?
- =?UTF-8?B?THXDrXM=?= Marques (14/14) Dec 18 2017 Is this a bug?
 - =?UTF-8?Q?S=c3=b6nke_Ludwig?= (4/24) Dec 18 2017 https://issues.dlang.org/show_bug.cgi?id=11847
 - =?UTF-8?B?THXDrXM=?= Marques (4/6) Dec 18 2017 Sönke, thanks for reporting the bug, fighting for it and bringing
 
Is this a bug?
foo/bar/baz.d:
     module foo.bar.baz;
     alias thisModule = foo.bar.baz;
$ dmd -main -I. foo/bar/baz.d
OK
foo/bar/baz.d:
     module foo.bar.baz;
     alias thisModule = foo.bar.baz;
     import foo;
foo/package.d:
     module foo;
$ dmd -main -I. foo/bar/baz.d
foo/bar/baz.d(2): Error: undefined identifier bar in module foo
 Dec 18 2017
Am 18.12.2017 um 13:14 schrieb Luís Marques:Is this a bug? foo/bar/baz.d: module foo.bar.baz; alias thisModule = foo.bar.baz; $ dmd -main -I. foo/bar/baz.d OK foo/bar/baz.d: module foo.bar.baz; alias thisModule = foo.bar.baz; import foo; foo/package.d: module foo; $ dmd -main -I. foo/bar/baz.d foo/bar/baz.d(2): Error: undefined identifier bar in module foohttps://issues.dlang.org/show_bug.cgi?id=11847 https://github.com/dlang/dmd/pull/7218 (had some trouble finding it due to the changed title)
 Dec 18 2017
On Monday, 18 December 2017 at 13:21:59 UTC, Sönke Ludwig wrote:https://issues.dlang.org/show_bug.cgi?id=11847 https://github.com/dlang/dmd/pull/7218Sönke, thanks for reporting the bug, fighting for it and bringing it to my attention here. I hope this pull request is merged soon.
 Dec 18 2017








 
 
 
 =?UTF-8?B?THXDrXM=?= Marques <luis luismarques.eu>