Skip to content
GitLab
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
529e0b00
Commit
529e0b00
authored
Oct 03, 2001
by
Ronny Wichers Schreur
🏢
Browse files
fixed type error by reintroducing uniqueCopy
parent
28241c7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/type.icl
View file @
529e0b00
...
...
@@ -2225,7 +2225,7 @@ where
#
(
error
=:{
ea_file
})
=
errorHeading
"Uniqueness error"
error
(
coercion_env
,
copy_coercion_env
)
=
array
Copy
coercion_env
=
unique
Copy
coercion_env
format
=
{
form_properties
=
cMarkAttribute
,
form_attr_position
=
Yes
(
reverse
positions
,
copy_coercion_env
)
}
...
...
@@ -2488,6 +2488,13 @@ where
CheckedType
_
->
ts
uniqueCopy
::
!*
a
->
(!*
a
,
!*
a
)
uniqueCopy
x
=
code
{
.inline
uniqueCopy
push_a
0
.end
}
is_rare_name
{
id_name
}
=
id_name
.[
0
]==
'_'
...
...
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