Ticket #118 (closed bug: Fixed)

Opened 10 years ago

Last modified 43 years ago

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: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

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

Changed 8 years ago by simonmar

  • status changed from assigned to closed
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.