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
42764d66
Commit
42764d66
authored
Jan 20, 2005
by
John van Groningen
Browse files
first print derived type, then specified type, in error message
parent
fd9c4695
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/type.icl
View file @
42764d66
...
...
@@ -2079,10 +2079,10 @@ where
specification_error
type
type1
err
#
err
=
errorHeading
"Type error"
err
format
=
{
form_properties
=
cAttributed
,
form_attr_position
=
No
}
=
{
err
&
ea_file
=
err
.
ea_file
<<<
" specified type "
<::
(
format
,
type1
,
Yes
initialTypeVarBeautifulizer
)
<<<
" conflicts with derived type "
=
{
err
&
ea_file
=
err
.
ea_file
<<<
" derived type "
<::
(
format
,
type
,
Yes
initialTypeVarBeautifulizer
)
<<<
" conflicts with specified type "
<::
(
format
,
type1
,
Yes
initialTypeVarBeautifulizer
)
<<<
'\n'
}
cleanUpAndCheckFunctionTypes
[]
_
_
start_index
_
defs
type_contexts
coercion_env
attr_partition
type_var_env
attr_var_env
(
out
,
ts
)
...
...
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