mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove PolymorphicFunctionType
This commit is contained in:
@@ -361,7 +361,6 @@ namespace {
|
||||
|
||||
Type operator()(Type type) {
|
||||
// Swift only supports rank-1 polymorphism.
|
||||
assert(!type->is<PolymorphicFunctionType>());
|
||||
assert(!type->is<GenericFunctionType>());
|
||||
|
||||
// Preserve parens when opening types.
|
||||
|
||||
Reference in New Issue
Block a user