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
18d1e786
Commit
18d1e786
authored
Oct 17, 2001
by
Sjaak Smetsers
Browse files
Bug fixes: too many error messages were printed
parent
5a302136
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/analtypes.icl
View file @
18d1e786
...
...
@@ -681,19 +681,20 @@ cyclicClassInfoMark =: [KindCycle]
determineKindsOfClasses
::
!
NumberSet
!{#
CommonDefs
}
!*
TypeDefInfos
!*
TypeVarHeap
!*
ErrorAdmin
->
(!*
ClassDefInfos
,
!*
TypeDefInfos
,
!*
TypeVarHeap
,
!*
ErrorAdmin
)
determineKindsOfClasses
used_module_numbers
modules
type_def_infos
type_var_heap
error
#!
prev_error_ok
=
error
.
ea_ok
#
nr_of_modules
=
size
modules
class_infos
=
{{}
\\
module_nr
<-
[
0
..
nr_of_modules
]
}
class_infos
=
iFoldSt
(
initialyse_info_for_module
used_module_numbers
modules
)
0
nr_of_modules
class_infos
as
=
{
as_td_infos
=
type_def_infos
,
as_type_var_heap
=
type_var_heap
,
as_kind_heap
=
newHeap
,
as_error
=
error
,
as_error
=
{
error
&
ea_ok
=
True
}
}
(
class_infos
,
{
as_td_infos
,
as_type_var_heap
,
as_error
})
=
iFoldSt
(
determine_kinds_of_class_in_module
modules
)
0
nr_of_modules
(
class_infos
,
as
)
=
(
class_infos
,
as_td_infos
,
as_type_var_heap
,
as_error
)
#!
ok
=
as_error
.
ea_ok
=
(
class_infos
,
as_td_infos
,
as_type_var_heap
,
{
as_error
&
ea_ok
=
prev_error_ok
&&
ok
})
where
initialyse_info_for_module
used_module_numbers
modules
module_index
class_infos
|
inNumberSet
module_index
used_module_numbers
...
...
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