Commit fc351ab8 authored by fendor's avatar fendor Committed by Marge Bot
Browse files

Use HomeUnit for main module without module declaration

parent d2cfad96
......@@ -194,7 +194,7 @@ tcRnModule hsc_env mod_sum save_rn_syntax
= (mkHomeModule home_unit mod, mod_loc)
| otherwise -- 'module M where' is omitted
= (mAIN, srcLocSpan (srcSpanStart loc))
= (mkHomeModule home_unit mAIN_NAME, srcLocSpan (srcSpanStart loc))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment