Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Exception thrown by return statement in expression block

Open jemoo opened this issue 2 years ago • 1 comments

image

When I added a return statement to the expression block, subsequent code received a compiler warning of 'unreachable code' and an exception occurred while running the program

jemoo avatar Jul 21 '23 13:07 jemoo

On latest nightly (https://github.com/beefytech/Beef/commit/ce42dc4fbe5a7387cd81de7379c49f0477d6367d) this is still an issue. Ready-for-testing project: bug.1875.zip I've noticed that EAV is caused by let for the first variable. EAV is somehow tied with NumberFormatInfo:

Image

kallisto56 avatar Jan 28 '25 02:01 kallisto56