mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Add TypePosition::Shape
This commit is contained in:
@@ -2199,6 +2199,7 @@ static Type typeEraseExistentialSelfReferences(Type refTy, Type baseTy,
|
||||
|
||||
case TypePosition::Contravariant:
|
||||
case TypePosition::Invariant:
|
||||
case TypePosition::Shape:
|
||||
return Type(t);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user