refactor: require() now uses exit codes starting from 1024#2315
refactor: require() now uses exit codes starting from 1024#2315
require() now uses exit codes starting from 1024#2315Conversation
abe2164 to
6ddbbce
Compare
require() now uses exit codes starting from 1024
require() now uses exit codes starting from 1024require() now uses exit codes starting from 1024
anton-trunov
left a comment
There was a problem hiding this comment.
Add a test demonstrating
require(false, "second");
require(false, "second");is handled correctly.
|
One more thought: this PR breaks backwards compatibility with the current behavior of require: |
I think that's reasonable. For posterity though, I'll push the updated docs for |
…om:tact-lang/tact into 2245-require-should-use-smaller-exit-codes
|
I don't think we need one more source of implicitness in the language, especially the one that breaks backwards compatibility |
Issue
Closes #2245 .