Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
curry
curry-frontend
Commits
c7cc8e01
Commit
c7cc8e01
authored
Feb 03, 2014
by
Björn Peemöller
Browse files
Fixed bug w.r.t. imported Record names without enabled Record syntax
parent
3d604b8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Imports.hs
View file @
c7cc8e01
...
...
@@ -449,12 +449,13 @@ importUnifyData' tcEnv = fmap (setInfo allTyCons) tcEnv
-- |
qualifyEnv
::
Options
->
CompilerEnv
->
CompilerEnv
qualifyEnv
opts
env
=
expandValueEnv
opts
qualifyEnv
opts
env
=
expandValueEnv
opts
'
$
qualifyLocal
env
$
foldl
(
flip
importInterfaceIntf
)
initEnv
$
Map
.
elems
$
interfaceEnv
env
where
initEnv
=
initCompilerEnv
$
moduleIdent
env
opts'
=
opts
{
optExtensions
=
Records
:
optExtensions
opts
}
qualifyLocal
::
CompilerEnv
->
CompilerEnv
->
CompilerEnv
qualifyLocal
currentEnv
initEnv
=
currentEnv
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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