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
dc49712a
Commit
dc49712a
authored
Mar 17, 2004
by
Ronny Wichers Schreur
🏘
Browse files
ignore rank > 1 quantors in type_io
parent
ea8cf0fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/type_io.icl
View file @
dc49712a
...
...
@@ -359,6 +359,20 @@ where
=
write_type_info
type_var
tcl_file
wtis
=
(
tcl_file
,
wtis
)
// FIXME: the universally quantifier and type vars are ignored here
// this is really just a hack to prevent the compiler from crashing
// on rank>1 types
write_type_info
(
TFA
uni_vars
type
)
tcl_file
wtis
#
(
th_vars
,
wtis
)
=
sel_type_var_heap
wtis
#
(_,(_,
th_vars
))
=
mapSt
normalize_type_var
uni_vars
(
0
,
th_vars
)
#
wtis
=
{
wtis
&
wtis_type_heaps
.
th_vars
=
th_vars
}
#
(
tcl_file
,
wtis
)
=
write_type_info
type
tcl_file
wtis
=
(
tcl_file
,
wtis
)
write_type_info
TE
tcl_file
wtis
#
tcl_file
=
fwritec
TypeTECode
tcl_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