#4063: target "is not a module name or a source file"
----------------------------------------------------+-----------------------
Reporter: beroal | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.2
Keywords: target,module name,source file,flag | Difficulty:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure:
None/Unknown
----------------------------------------------------+-----------------------
Comment(by beroal):
Thanks Simon for the answer. I do not object to GHC appending file
extension and recognizing target type by default. But I fail to see how
"-x" may be a solution: it substitute an extension so makes matters even
more complex. Suppose that Haskell file is named "del.me" — with "-x hs"
would compile "del.hs" — failed again. ;)
I mean like "--target-find file" and "--target-find module", "--target-
find" turns heuristics off, default behavior is not changed.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4063#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs