Skip to content

Commit 2a41a32

Browse files
committed
SIL: Fix a call to ProtocolConformanceRef::forAbstract()
1 parent a00157e commit 2a41a32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/SIL/Parser/ParseSIL.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,8 +1884,7 @@ SubstitutionMap getApplySubstitutionsFromParsed(
18841884
proto->getDeclaredInterfaceType());
18851885
failed = true;
18861886

1887-
// FIXME: Passing an empty Type() here temporarily.
1888-
return ProtocolConformanceRef::forAbstract(Type(), proto);
1887+
return ProtocolConformanceRef::forInvalid();
18891888
});
18901889

18911890
return failed ? SubstitutionMap() : subMap;

0 commit comments

Comments
 (0)