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
[TypeChecker] Mark type repr as invalid if IUO appears in incorrect position
Mark IUO repr in incorrect position as invalid. This is the only
way to indicate that something went wrong without supressing
checking other reprs in the same type. For example:
```swift
struct S<T, U> { ... }
_ = S<Int!, String!>(...)
```
Compiler should diagnose both `Int!` and `String!` as invalid,
but returning `ErrorType` from here would stop type resolution
after `Int!`.
0 commit comments