Please sign in to comment.
fix(ivy): handle empty bindings in template type checker (#31594)
When a template contains a binding without a value, the template parser creates an `EmptyExpr` node. This would previously be translated into an `undefined` value, which would cause a crash downstream as `undefined` is not included in the allowed type, so it was not handled properly. This commit prevents the crash by returning an actual expression for empty bindings. Fixes #30076 Fixes #30929 PR Close #31594
- Loading branch information...
Showing with 16 additions and 1 deletion.