Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lang] [bug] Let static assert be in static scope (#8217)
Issue: fix #8218 ### Brief Summary <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at ec8cb2c</samp> Add `static_assert` feature for compile-time assertions in Taichi. Modify `ast_transformer.py` to handle the `static_assert` decorator. ### Walkthrough <!-- copilot:walkthrough --> ### <samp>🤖 Generated by Copilot at ec8cb2c</samp> * Add support for `static_assert` decorator to enable compile-time assertions ([link](https://github.com/taichi-dev/taichi/pull/8217/files?diff=unified&w=0#diff-3e22417ffade4af0564893b98dc5101d714b8ba6fd4423ab5bc5129e360fee8fL538-R538), [link](https://github.com/taichi-dev/taichi/pull/8217/files?diff=unified&w=0#diff-3e22417ffade4af0564893b98dc5101d714b8ba6fd4423ab5bc5129e360fee8fR1119))
- Loading branch information