Compile expect conditions with bool type, not continuation type

This commit is contained in:
Ayaz Hafiz 2022-11-02 16:02:39 -05:00
parent 98afc76508
commit d114d410cb
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -6485,7 +6485,7 @@ pub fn from_can<'a>(
stmt = with_hole(
env,
loc_condition.value,
variable,
Variable::BOOL,
procs,
layout_cache,
cond_symbol,
@ -6541,7 +6541,7 @@ pub fn from_can<'a>(
stmt = with_hole(
env,
loc_condition.value,
variable,
Variable::BOOL,
procs,
layout_cache,
cond_symbol,