You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, code generation can generate invalid Java or Rust code for ISL types that have names using keywords of Java/Rust programming language. This is also an issue for field names that have these keywords.
e.g.
Something like the following generates invalid rust code:
Currently, code generation can generate invalid Java or Rust code for ISL types that have names using keywords of Java/Rust programming language. This is also an issue for field names that have these keywords.
e.g.
Something like the following generates invalid rust code:
Note the field whose name is type.
This results in code like:
For Rust, can use raw identifiers: https://doc.rust-lang.org/reference/identifiers.html#raw-identifiers
For Java, a possible solution is to add a suffix (e.g.
_
) for keywords used as variable/class names.CC: @jpschorr
The text was updated successfully, but these errors were encountered: