mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
TypeResolutionFlags is overly complicated at the moment because the vast majority of flag combinations are impossible and nonsensical. With this patch, we create a new TypeResolverContext type that is a classic enum and far easier to reason about. It also enables "exhaustive enum" checking, unlike the "flags" based approach.
78 KiB
78 KiB