Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
e6bb857b
Commit
e6bb857b
authored
Apr 29, 2013
by
John van Groningen
Browse files
copy expr in DictionariesFunction in instance of copy for Expression,
to avoid abort in collectVariables for a BoundVar
parent
e69b606d
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/trans.icl
View file @
e6bb857b
...
...
@@ -4921,6 +4921,10 @@ where
copy
(
TypeSignature
type_function
expr
)
ci
cs
#
(
expr
,
cs
)
=
copy
expr
ci
cs
=
(
TypeSignature
type_function
expr
,
cs
)
copy
(
DictionariesFunction
dictionaries
expr
expr_type
)
ci
cs
// the variables in dictionaries are not copied
#
(
expr
,
cs
)
=
copy
expr
ci
cs
=
(
DictionariesFunction
dictionaries
expr
expr_type
,
cs
)
copy
expr
ci
cs
=
(
expr
,
cs
)
...
...
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