Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
curry
curry-frontend
Commits
1ef2578e
Commit
1ef2578e
authored
Nov 28, 2017
by
Finn Teegen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix original name of imported labels in value environment
parent
2e08c03b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/Imports.hs
src/Imports.hs
+1
-1
No files found.
src/Imports.hs
View file @
1ef2578e
...
...
@@ -264,7 +264,7 @@ values m (INewtypeDecl _ tc _ tvs nc hs) =
case
nc
of
NewConstrDecl
_
_
_
->
[]
NewRecordDecl
_
c
(
l
,
lty
)
->
[
recLabel
m
tc
tvs
ty'
(
l
,
[
c
],
lty
)
|
l
`
notElem
`
hs
]
[
recLabel
m
tc
'
tvs
ty'
(
l
,
[
c
],
lty
)
|
l
`
notElem
`
hs
]
where
tc'
=
qualQualify
m
tc
ty'
=
constrType
tc'
tvs
values
m
(
IFunctionDecl
_
f
Nothing
a
qty
)
=
...
...
Write
Preview
Markdown
is supported
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