Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
February 14, 2017 [Issue 17181] Local imports in templates should be added to imported modules list of module that instantiated it | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17181 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrei@erdani.com --- Comment #1 from Andrei Alexandrescu <andrei@erdani.com> --- Thanks. This blocks https://github.com/dlang/druntime/pull/1756 -- |
February 15, 2017 [Issue 17181] Local imports in templates should be added to imported modules list of module that instantiated it | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17181 David Nadlinger <code@klickverbot.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |code@klickverbot.at --- Comment #2 from David Nadlinger <code@klickverbot.at> --- Just as a heads up, I'd expect having to deal with real-world breakage due to constructor cycles as a side effect of fixing this. -- |
January 07, 2019 [Issue 17181] Local imports in templates should be added to imported modules list of module that instantiated it | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17181 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com Assignee|nobody@puremagic.com |razvan.nitu1305@gmail.com -- |
January 07, 2019 [Issue 17181] Local imports in templates should be added to imported modules list of module that instantiated it | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17181 --- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> --- Does this bug have a visible manifestation? I can compile this code successfully. Can this be tested somehow? It's not obvious from the bug description what is the intended behavior. -- |
January 07, 2019 [Issue 17181] Local imports in templates should be added to imported modules list of module that instantiated it | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17181 --- Comment #4 from David Nadlinger <code@klickverbot.at> --- (In reply to RazvanN from comment #3) > Does this bug have a visible manifestation? If you check `ModuleInfo.importedModules` for `foo`, `std.stdio` wouldn't be there (or at least wasn't back then). -- |
January 08, 2019 [Issue 17181] Local imports in templates should be added to imported modules list of module that instantiated it | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17181 --- Comment #5 from RazvanN <razvan.nitu1305@gmail.com> --- So, if I understand correctly, the idea here is that when a template is instantiated, the code generated for the template instantiation should be put in foo.o, right? Otherwise, why would it be in bar? -- |
January 08, 2019 [Issue 17181] Local imports in templates should be added to imported modules list of module that instantiated it | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17181 --- Comment #6 from RazvanN <razvan.nitu1305@gmail.com> --- PR: https://github.com/dlang/dmd/pull/9221 -- |
February 22, 2019 [Issue 17181] Local imports in templates should be added to imported modules list of module that instantiated it | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17181 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
April 28, 2022 [Issue 17181] Local imports in templates should be added to imported modules list of module that instantiated it | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17181 duser@neet.fi changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=22651 -- |
Copyright © 1999-2021 by the D Language Foundation