Thread overview | ||||||
---|---|---|---|---|---|---|
|
December 11, 2020 [Issue 21467] Imported modules/packages are inaccessible outside the importing module | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21467 Mathias LANG <pro.mathias.lang@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pro.mathias.lang@gmail.com --- Comment #1 from Mathias LANG <pro.mathias.lang@gmail.com> --- > source/b.d-mixin-5(5,1): Error: undefined identifier b in module a This is correct. `b` is not a member of `a`, it's an import. I'm tempted to mark this as `INVALID`. -- |
December 11, 2020 [Issue 21467] Imported modules/packages are inaccessible outside the importing module | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21467 --- Comment #2 from Max Samukha <maxsamukha@gmail.com> --- If imports are not members, then: __traits(allMembers, importing_module) must not return imports; __traits(hasMember, importing_module, "imported_module") must return false; it must be impossible to refer to the imported module as 'importing_module.imported_module' everywhere including the importing module. Also, being an import and being a member are not conceptually exclusive. "`b` is not a member of `a`, it's an import" sounds too dogmatic to me. -- |
December 17, 2022 [Issue 21467] Imported modules/packages are inaccessible outside the importing module | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21467 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 21467] Imported modules/packages are inaccessible outside the importing module | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21467 --- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19838 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation