Crash at runtime rather than panicking when if condition is erroneous

Closes #5318
This commit is contained in:
Ayaz Hafiz 2023-05-01 15:48:05 -05:00
parent cdf8677dfb
commit a9975b1f7f
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 31 additions and 9 deletions

View file

@ -0,0 +1,3 @@
procedure Test.0 ():
let Test.2 : Str = "Erroneous: invalid condition type in if expression";
Crash Test.2