Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
fc351ab8
Commit
fc351ab8
authored
Sep 03, 2020
by
fendor
Committed by
Marge Bot
Oct 01, 2020
Browse files
Use HomeUnit for main module without module declaration
parent
d2cfad96
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/GHC/Tc/Module.hs
View file @
fc351ab8
...
...
@@ -194,7 +194,7 @@ tcRnModule hsc_env mod_sum save_rn_syntax
=
(
mkHomeModule
home_unit
mod
,
mod_loc
)
|
otherwise
-- 'module M where' is omitted
=
(
m
AIN
,
srcLocSpan
(
srcSpanStart
loc
))
=
(
m
kHomeModule
home_unit
mAIN_NAME
,
srcLocSpan
(
srcSpanStart
loc
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment