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
We get a lot of bugs that land in backend components because they crash in SILGen, optimization, or IRGen, but are really rooted in type-checker bugs. To help better screen these bugs, and to hopefully catch them sooner, we should put some effort into the AST verifier to make it check more invariants. Currently it misses a lot of basic things, like 'ParenExprs shouldn't change the type of the subexpression' or '*MemberRef should reference a member that's actually reachable from the base type'.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: c8813366828ca436433065a7b8e88402
Issue Description:
We get a lot of bugs that land in backend components because they crash in SILGen, optimization, or IRGen, but are really rooted in type-checker bugs. To help better screen these bugs, and to hopefully catch them sooner, we should put some effort into the AST verifier to make it check more invariants. Currently it misses a lot of basic things, like 'ParenExprs shouldn't change the type of the subexpression' or '*MemberRef should reference a member that's actually reachable from the base type'.
The text was updated successfully, but these errors were encountered: