Comment #0 by iamthewilsonator — 2016-07-26T07:15:59Z
if a file in a structed directory a/b/c/d.d has no module declaration and is imported as `import a.b.c.d` the error message is
module d from file a/b/c/d.d must be imported with 'import d;'
importing as `import d;` will also fail if (very likely) a/b/c/d is not in the import path.
Issue a warning that no module declaration is present, indicating that may be the cause.
Comment #1 by robert.schadek — 2024-12-13T18:49:11Z