hsc2hs can't treat absolute path correctly on Windows.
hsc2hs works correcly when using relative path on Windows. But hsc2hs doesn't works when using absolute path on Windows.
C:\home>hsc2hs AbsolutePath.hsc
C:\home>hsc2hs C:\home\AbsolutePath.hs
hsc2hs: .\C:\home\AbsolutePath_hsc_make.exe: runProcess: does not exist (No such
file or directory)
AbsolutePath.hsc
module Main (main) where
main :: IO ()
main = print #size int
AbsolutePath_out.hs
According to below two tweets (in Japanese), this behavior causes problem when using EclipseFP on Windows.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.4.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | hsc2hs |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown/Multiple |
| Architecture |