DanielG / ghc-mod

Happy Haskell Hacking for editors. DEPRECATED
Other
677 stars 175 forks source link

Bug: Without extension file cannot be recognized #558

Open cblp opened 9 years ago

cblp commented 9 years ago
$ head -n 1 ./test
#!/usr/bin/env runhaskell
$ ghc-mod check ./test
ghc-mod: target ‘./test’ is not a module name or a source file

ghc-mod version 5.2.1.2 compiled by GHC 7.8.4

DanielG commented 9 years ago

This is tricky since that error is coming from the GHC API I believe. But it's probably just related to guessTarget.

DanielG commented 8 years ago

See also #688