ScorexFoundation / sigmastate-interpreter

ErgoScript compiler and ErgoTree Interpreter implementation for Ergo blockchain
MIT License
62 stars 40 forks source link

[6.0] Lazy default for Option.getOrElse and Coll.getOrElse #1008

Open kushti opened 2 months ago

kushti commented 2 months ago

In this PR , lazy default evaluation for Option.getOrElse and Coll.getOrElse is implemented

kushti commented 1 month ago

@aslesarenko comments addressed, please make another pass

kushti commented 1 month ago

@aslesarenko after all I've found some V6 related modifications in #995 , tweaked them further and made verifyCases tests. Please make another pass