-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand reduceBool
and add reduceSlice
#197
Conversation
8c39829
to
2cd58d0
Compare
Co-authored-by: byakuren-hijiri <159621697+byakuren-hijiri@users.noreply.github.com>
Current implementation doesn't actually work and throws errors on compiling new test cases. |
The issue here is that constant evaluation is performed on a non-typechecked AST. So when you call |
Looks like this PR should be closed now? Because the architecture of the constant evaluator has changed a lot in #432. Of course, we can still improve a lot of things in the constant evaluator, adding support for slices would be especially nice. |
yes, right |
resolves tact-lang/tact-docs#195
I didn't cover that with new tests yet, going to do it soon