@@ -799,15 +799,15 @@ class InsertExplicitCall final : public ConstraintFix {
799799
800800class UsePropertyWrapper final : public ConstraintFix {
801801 VarDecl *Wrapped;
802- bool UsingStorageWrapper ;
802+ bool UsingProjection ;
803803 Type Base;
804804 Type Wrapper;
805805
806806 UsePropertyWrapper (ConstraintSystem &cs, VarDecl *wrapped,
807- bool usingStorageWrapper , Type base, Type wrapper,
807+ bool usingProjection , Type base, Type wrapper,
808808 ConstraintLocator *locator)
809809 : ConstraintFix(cs, FixKind::UsePropertyWrapper, locator),
810- Wrapped (wrapped), UsingStorageWrapper(usingStorageWrapper ), Base(base),
810+ Wrapped (wrapped), UsingProjection(usingProjection ), Base(base),
811811 Wrapper(wrapper) {}
812812
813813public:
@@ -822,7 +822,7 @@ class UsePropertyWrapper final : public ConstraintFix {
822822 }
823823
824824 static UsePropertyWrapper *create (ConstraintSystem &cs, VarDecl *wrapped,
825- bool usingStorageWrapper , Type base,
825+ bool usingProjection , Type base,
826826 Type wrapper, ConstraintLocator *locator);
827827};
828828
@@ -836,7 +836,7 @@ class UseWrappedValue final : public ConstraintFix {
836836 : ConstraintFix(cs, FixKind::UseWrappedValue, locator),
837837 PropertyWrapper (propertyWrapper), Base(base), Wrapper(wrapper) {}
838838
839- bool usingStorageWrapper () const {
839+ bool usingProjection () const {
840840 auto nameStr = PropertyWrapper->getName ().str ();
841841 return !nameStr.startswith (" _" );
842842 }
0 commit comments