File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -2907,16 +2907,7 @@ static Type substType(
2907
2907
llvm::PointerUnion<ModuleDecl *, const SubstitutionMap *> conformances,
2908
2908
TypeSubstitutionFn substitutions,
2909
2909
SubstOptions options) {
2910
-
2911
- // FIXME: Change getTypeOfMember() to not pass GenericFunctionType here
2912
- if (!derivedType->hasArchetype () &&
2913
- !derivedType->hasTypeParameter () &&
2914
- !derivedType->is <GenericFunctionType>())
2915
- return derivedType;
2916
-
2917
2910
return derivedType.transform ([&](Type type) -> Type {
2918
- // FIXME: Add SIL versions of mapTypeIntoContext() and
2919
- // mapTypeOutOfContext() and use them appropriately
2920
2911
assert ((options.contains (SubstFlags::AllowLoweredTypes) ||
2921
2912
!isa<SILFunctionType>(type.getPointer ())) &&
2922
2913
" should not be doing AST type-substitution on a lowered SIL type;"
You can’t perform that action at this time.
0 commit comments