-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Lang] Fix ti.static(ti.grouped(ti.ndrange(...)))
syntax checker false positive
#680
Conversation
@xumingkuan Sorry about the brute-force treatment here. No rush to review it during the weekend. Forgive me if I bypass your review - I'm just trying to have this in v0.5.10 releasing tonight so that people won't get a syntax error. We can have more discussions for a more systematic solution after this urgent issue is resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yes, I wrote this after #631 (comment) to raise a loud error to avoid silent errors as I didn't check if it would work. Let's merge this in swiftly and make it work today.
I see. Thanks for understanding. I didn't realize this use case could be an issue during code review either. I'll merge this in once CI passes. |
Did it work in previous versions? I don't think I changed the behavior of |
You mean the test I skipped? It's now throwing an |
Oh I mean did |
It doesn't work should not work. Taichi will throw an I'm just letting |
@yuanming-hu Shall we have a Skype chat about how to fix this now? |
Sure! |
How to raise |
Oh please move |
Which file should |
Good question - let's create |
This is a special case that we should let pass. A more systematic solution is to defer the checking to the stage when the AST generating script is executed.
Related issue = #taichi-dev/taichi_elements#13
[Click here for the format server]