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
9dd7ec91
Commit
9dd7ec91
authored
Feb 13, 2002
by
John van Groningen
Browse files
compare strictness annotations of constructors
parent
1574a95d
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/comparedefimp.icl
View file @
9dd7ec91
...
...
@@ -85,7 +85,7 @@ where
comp_type_var_heap
=
initialyseATypeVars
dcl_cons_def
.
cons_exi_vars
comp_type_var_heap
comp_type_var_heap
=
initialyseATypeVars
icl_cons_def
.
cons_exi_vars
comp_type_var_heap
comp_st
=
{
comp_st
&
comp_type_var_heap
=
comp_type_var_heap
}
(
ok
,
comp_st
)
=
compare
dcl_cons_type
.
st_args
icl_cons_type
.
st_args
comp_st
(
ok
,
comp_st
)
=
compare
(
dcl_cons_type
.
st_args
,
dcl_cons_type
.
st_args_strictness
)
(
icl_cons_type
.
st_args
,
icl_cons_type
.
st_args_strictness
)
comp_st
|
dcl_cons_def
.
cons_priority
==
icl_cons_def
.
cons_priority
|
ok
&&
do_compare_result_types
#
(
ok
,
comp_st
)
=
compare
dcl_cons_type
.
st_result
icl_cons_type
.
st_result
comp_st
...
...
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