swift
5570ed5f - AST: Clean up recursion guards in GenericEnvironment

Commit
4 years ago
AST: Clean up recursion guards in GenericEnvironment Instead of using the recursiveConcreteType and recursiveSuperclass bits in EquivalenceClass, store an ErrorType to the cached value before we begin archetype construction. If a recursive call attempts to get the archetype for the same type re-entrantly, we will return an ErrorType.
Author
Committer
Parents
Loading