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
c2fe6aa1
Commit
c2fe6aa1
authored
Nov 12, 2002
by
Ronny Wichers Schreur
🏘
Browse files
mark boolean case as not explicit to prevent introducing a function
parent
93564950
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/transform.icl
View file @
c2fe6aa1
...
...
@@ -1818,7 +1818,7 @@ where
#
(
new_info_ptr
,
symbol_heap
)
=
newPtr
(
EI_CaseType
case_type
)
cos
.
cos_symbol_heap
#
kase
=
Case
{
case_expr
=
e1
,
case_guards
=
BasicPatterns
BT_Bool
[{
bp_value
=
BVB
True
,
bp_expr
=
e2
,
bp_position
=
NoPos
}],
case_default
=
Yes
e3
,
case_ident
=
No
,
case_info_ptr
=
new_info_ptr
,
case_default_pos
=
NoPos
,
case_explicit
=
Tru
e
}
case_explicit
=
Fals
e
}
=
(
kase
,{
cos
&
cos_symbol_heap
=
symbol_heap
});
two_args
[_,_]
...
...
Write
Preview
Supports
Markdown
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