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 26eaf75 commit 52b415eCopy full SHA for 52b415e
include/swift/Sema/ConstraintSystem.h
@@ -3627,16 +3627,6 @@ class ConstraintSystem {
3627
});
3628
}
3629
3630
- bool
3631
- hasConversionRestriction(Type type1, Type type2,
3632
- ConversionRestrictionKind restrictionKind) const {
3633
- auto restriction =
3634
- ConstraintRestrictions.find({type1.getPointer(), type2.getPointer()});
3635
- return restriction == ConstraintRestrictions.end()
3636
- ? false
3637
- : restriction->second == restrictionKind;
3638
- }
3639
-
3640
/// If an UnresolvedDotExpr, SubscriptMember, etc has been resolved by the
3641
/// constraint system, return the decl that it references.
3642
ValueDecl *findResolvedMemberRef(ConstraintLocator *locator);
0 commit comments