hirosystems / clarinet

Write, test and deploy high-quality smart contracts to the Stacks blockchain and Bitcoin.
https://hiro.so/clarinet
GNU General Public License v3.0
307 stars 141 forks source link

unwrap-err-panic control flow function is not working as expected #385

Closed amahajan87 closed 2 years ago

amahajan87 commented 2 years ago

Im working with unwrap-err-panic ! I do not see it working as expected (as per clarity functions doc/book)! Any suggestions?

See attached when writing in clarity-repl: Untitled1

See attached when writing in VSCode: Untitled 22 Untitled34

obycode commented 2 years ago

Thanks for reporting @amahajan87! This should be fixed in the latest clarinet release, v0.31.1. Please let me know if you still see this problem, or else, we can now close this issue.

amahajan87 commented 2 years ago

@obycode I am able to see the fix, it works. Thanks.