Tritlo / PropR

Genetic program repair using GHC
MIT License
30 stars 2 forks source link

Issue with " The IO action ‘main’ is not defined in module ‘Main’ " #77

Closed Tritlo closed 3 years ago

Tritlo commented 3 years ago

When we compile unnamed modules with no main function, we get the standard GHC error that there is no main function in the module. Should we even try to fix this? runghc fails with the same error, and invoking ghc would as well... so it's really a type error in the file itself!