pyret-lang icon indicating copy to clipboard operation
pyret-lang copied to clipboard

Unpacking `ref` field in `cases` sometimes doesn't deref

Open tdelv opened this issue 4 years ago • 0 comments

Possibly an extension of #1602. Code: https://code.pyret.org/editor#share=1ML0EdMGdi5Z0iBJ0IMUg9-u6VQ4e1tR2&v=1904b2c

If the inner-most body is a cases, then we get that b is a ref on line 19, but if the body is a value or function call, it works fine.

tdelv avatar Nov 12 '21 17:11 tdelv