#1748: main-is argument cannot be hierarchical module
-----------------------+----------------------------------------------------
  Reporter:  guest     |          Owner:         
      Type:  bug       |         Status:  new    
  Priority:  normal    |      Milestone:         
 Component:  Compiler  |        Version:  6.9    
  Severity:  normal    |       Keywords:         
Difficulty:  Unknown   |             Os:  Unknown
  Testcase:            |   Architecture:  Unknown
-----------------------+----------------------------------------------------
 Foobar.hs:
 {{{
 module Foo.Bar where
 main = putStrLn "hi"
 }}}

 {{{
 ghc --make -main-is Foo.bar Foobar -o Foobar
 Warning: output was redirected with -o, but no output will be generated
 }}}

 When not using hierarchical names, i.e. name Foo.bar FooSomething and
 -main-is FooSomething, a binary FooSomething is created.

 Reported for 6.9, but probably also in 6.8.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1748>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to