We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79f2c4 commit e913712Copy full SHA for e913712
lib/AST/ConformanceLookup.cpp
@@ -205,6 +205,9 @@ static ProtocolConformanceRef getBuiltinTupleTypeConformance(
205
206
auto *tupleDecl = ctx.getBuiltinTupleDecl();
207
208
+ // Ignore @lvalue's within the tuple.
209
+ type = type->getRValueType();
210
+
211
// Find the (unspecialized) conformance.
212
SmallVector<ProtocolConformance *, 2> conformances;
213
if (tupleDecl->lookupConformance(protocol, conformances)) {
0 commit comments