Opened 16 years ago

Closed 14 years ago

Last modified 49 years ago

#118 closed bug (Fixed)

Confusing Error Message if package-name is omitted

Reported by: wthaller Owned by: nobody
Priority: normal Milestone:
Component: Driver Version: None
Keywords: Cc:
Operating System: Architecture:
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

I compiled a library as a GHC package without adding the appropriate package-name flag to the ghc command line.
When trying to compile a module that used the package, ghc complained that it couldn't find package "Main".

This happens with the HEAD. With GHC 5.04 it (seemingly) was no problem to leave out the -package-name specifier.

Why is the -package-name flag needed at all?

Change History (1)

comment:1 Changed 14 years ago by simonmar

Status: assignedclosed
Logged In: YES 
user_id=48280

-package-name will be gone in 6.4 (yay!), so I can close
this bug.
Note: See TracTickets for help on using tickets.