Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
clean-compiler-and-rts
compiler
Commits
39637d40
Commit
39637d40
authored
Nov 06, 2001
by
Sjaak Smetsers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix: crashed with cyclic type classes
parent
78bcc157
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
frontend/analtypes.icl
frontend/analtypes.icl
+3
-2
No files found.
frontend/analtypes.icl
View file @
39637d40
...
...
@@ -749,8 +749,9 @@ where
// ---> ("determine_kinds_of_class", class_name, class_kinds)
=
({
class_infos
&
[
class_module
,
class_index
]
=
[
KindConst
\\
_
<-
[
1
..
class_arity
]]
},
{
as
&
as_error
=
popErrorAdmin
as
.
as_error
})
|
isCyclicClass
class_infos
.[
class_module
,
class_index
]
#
class_name
=
modules
.[
class_module
].
com_class_defs
.[
class_index
].
class_name
=
(
class_infos
,
{
as
&
as_error
=
checkError
class_name
class_def_error
as
.
as_error
})
#
{
class_name
,
class_arity
}
=
modules
.[
class_module
].
com_class_defs
.[
class_index
]
=
({
class_infos
&
[
class_module
,
class_index
]
=
[
KindConst
\\
_
<-
[
1
..
class_arity
]]},
{
as
&
as_error
=
checkError
class_name
class_def_error
as
.
as_error
})
=
(
class_infos
,
as
)
where
fresh_kind_vars
nr_of_vars
fresh_vars
kind_heap
...
...
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