[Issue 4563] [module system] Error messages for missing package or missing name

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 24 10:13:27 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=4563



--- Comment #9 from bearophile_hugs at eml.cc 2012-10-24 10:13:27 PDT ---
(In reply to comment #8)

> However what if the module is not in any package? Example:
> 
> import bitmanips; void main() { }
> 
> => test.d(1): Error: module bitmanips is in file 'bitmanips.d' which cannot be
> read
> 
> What should we do here?

Instead of writing:

test.d(1): Error: module bitmanips cannot be found in package 'std'.

It omits the last part of the message:

test.d(1): Error: module bitmanips cannot be found.

(Unrelated: do you know why D error messages don't have an ending full stop "."
as in correct English?)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list