bitloops / bitloops-language

Open-source transpiled programming language that helps you write clean code, well-designed systems, and build high-quality software that is testable, auditable and maintainable. Like what you see? Don't forget to star! :star: ^^^
https://bitloops.com/bitloops-language
GNU General Public License v3.0
343 stars 16 forks source link

ifError with error handling is not transpiling sometimes #501

Open giorgosnty opened 1 year ago

giorgosnty commented 1 year ago

Describe the bug Sometimes when using ifError to handle the error and do so ething it doesn't work.

To Reproduce const result = driverAvailability.becomeAvailable().ifError((err) => return err;);

Expected behavior It should transpile