AST: Remove PolymorphicFunctionType

This commit is contained in:
Slava Pestov
2016-11-27 05:51:43 -08:00
parent 287700631a
commit 835472b14f
26 changed files with 7 additions and 237 deletions

View File

@@ -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.