Skip to content

Commit 6094f73

Browse files
committed
[TaskLocal] remove commented out code
1 parent 71a48de commit 6094f73

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/Sema/TypeCheckPropertyWrapper.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -405,13 +405,6 @@ PropertyWrapperTypeInfoRequest::evaluate(
405405

406406
result.requireNoEnclosingInstance =
407407
enclosingInstanceTypeIsNever(ctx, result.enclosingInstanceWrappedSubscript);
408-
// if (requireNoEnclosingInstance) { // && !valueVar->isStatic()) {
409-
// // this means that the property wrapper must be declared on a static property
410-
// valueVar->diagnose(
411-
// diag::property_wrapper_var_must_be_static, valueVar->getName());
412-
// return PropertyWrapperTypeInfo();
413-
// result
414-
// }
415408

416409
bool hasInvalidDynamicSelf = false;
417410
if (result.projectedValueVar &&

0 commit comments

Comments
 (0)