Skip to content

Commit a3c230e

Browse files
committed
RequirementMachine: PropertyBag::{getConcreteType,getSuperclassBound}() should return CanType
1 parent 56450af commit a3c230e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/AST/RequirementMachine/PropertyMap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class PropertyBag {
117117
return Superclass.hasValue();
118118
}
119119

120-
Type getSuperclassBound() const {
120+
CanType getSuperclassBound() const {
121121
return Superclass->getSuperclass();
122122
}
123123

@@ -130,7 +130,7 @@ class PropertyBag {
130130
return ConcreteType.hasValue();
131131
}
132132

133-
Type getConcreteType() const {
133+
CanType getConcreteType() const {
134134
return ConcreteType->getConcreteType();
135135
}
136136

0 commit comments

Comments
 (0)