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
Replace input-constraint asserts with TranslationError in converter (#2845)
Replace 5 assert statements that check input AST constraints with
TranslationError (via self._fail()) to provide meaningful error messages
instead of bare AssertionErrors:
- Compare expressions: require single comparison operator
- Return statements: require a return value
- For loop bounds: require a function call, no keyword arguments
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments