mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
Crash at runtime rather than panicking when if condition is erroneous
Closes #5318
This commit is contained in:
parent
cdf8677dfb
commit
a9975b1f7f
4 changed files with 31 additions and 9 deletions
|
@ -0,0 +1,3 @@
|
|||
procedure Test.0 ():
|
||||
let Test.2 : Str = "Erroneous: invalid condition type in if expression";
|
||||
Crash Test.2
|
Loading…
Add table
Add a link
Reference in a new issue