.exe extension missing when compiling a file ending in dot + digits + dot hs
|Reported by:||oboudry||Owned by:||simonmar|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Revisions:|
I just encountered this very minor bug on Windows/GHC 6.8.2
When compiling a file that ends in .N.hs where N is a series of digits, the executable is missing the .exe extension.
I can of course workaround the problem by specifying the file name with the -o flag.
Here is a series of test I made to determine when the bug occurs. Look at the Linking ... line that shows the executable name.
C:\Temp\Haskell>ghc --make Test_0.hs [1 of 1] Compiling Main ( Test_0.hs, Test_0.o ) Linking Test_0.exe ... C:\Temp\Haskell>ren Test_0.hs Test.0.hs C:\Temp\Haskell>ghc --make Test.0.hs [1 of 1] Compiling Main ( Test.0.hs, Test.0.o ) Linking Test.0 ... C:\Temp\Haskell>ren Test.0.hs Test.012.hs C:\Temp\Haskell>ghc --make Test.012.hs [1 of 1] Compiling Main ( Test.012.hs, Test.012.o ) Linking Test.012 ...
Change History (8)
comment:4 Changed 7 years ago by NeilMitchell
- Cc ndmitchell@… added
- Resolution invalid deleted
- Status changed from closed to reopened
comment:7 Changed 7 years ago by simonmar
- Keywords driver081.* added
- Resolution set to fixed
- Status changed from new to closed