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
b86afe59
Commit
b86afe59
authored
Mar 20, 2002
by
John van Groningen
Browse files
bug fix: prevent compiler crash if type in icl module has
fewer constructors than type in dcl module
parent
37956a72
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/comparedefimp.icl
View file @
b86afe59
...
...
@@ -53,6 +53,8 @@ where
=
compare_constructor_lists
dcl_conses
icl_conses
dcl_cons_defs
icl_cons_defs
comp_st
=
(
False
,
icl_cons_defs
,
comp_st
)
=
(
False
,
icl_cons_defs
,
comp_st
)
compare_constructor_lists
[
dcl_cons
:
dcl_conses
]
[]
dcl_cons_defs
icl_cons_defs
comp_st
=
(
False
,
icl_cons_defs
,
comp_st
)
compare_rhs_of_types
(
SynType
dclType
)
(
SynType
iclType
)
dcl_cons_defs
icl_cons_defs
comp_st
#
(
ok
,
comp_st
)
=
compare
dclType
iclType
comp_st
...
...
@@ -1250,4 +1252,5 @@ file_to_true file = code {
pushB TRUE
.end
};
*/
\ No newline at end of file
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