Skip to content

Commit 7eb93b8

Browse files
committed
Update SpecifierDSL.h
1 parent f66beff commit 7eb93b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

unittests/runtime/SpecifierDSL.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ inline void addSameTypeRequirement(AnyObjectBuilder &builder,
310310
ObjectRef<const char> type2) {
311311
auto flags = GenericRequirementFlags(GenericRequirementKind::SameType,
312312
/*key argument*/ false,
313-
/*is pack requirement*/ false);
313+
/*is pack requirement*/ false,
314+
/*is value requirement*/ false);
314315
builder.add32(flags.getIntValue());
315316
builder.addRelativeReference(type1);
316317
builder.addRelativeReference(type2);
@@ -331,7 +332,8 @@ inline void addConformanceRequirement(AnyObjectBuilder &builder,
331332
bool isKeyArgument = true) {
332333
auto flags = GenericRequirementFlags(GenericRequirementKind::Protocol,
333334
isKeyArgument,
334-
/*is pack requirement*/ false);
335+
/*is pack requirement*/ false,
336+
/*is value requirement*/ false);
335337
builder.add32(flags.getIntValue());
336338
builder.addRelativeReference(type);
337339
addProtocolDescriptorRef(builder, protocol);

0 commit comments

Comments
 (0)