What steps will reproduce the problem?
1. Given: module Test where main = 1 :: Int
2. yhc Test.hs
3. yhi Test.hbc
What is the expected output? What do you see instead?
It crashes, which is bad. Test.hbc has a main function, but its of the
wrong type. Yhc should probably ensure that Main.main has the right type,
and Yhi should check that the root hbc file is called module Main.
Original issue reported on code.google.com by ndmitch...@gmail.com on 29 Mar 2008 at 6:29
Original issue reported on code.google.com by
ndmitch...@gmail.com
on 29 Mar 2008 at 6:29