Skip to content

Commit 81f2be2

Browse files
authored
Merge pull request swiftlang#38830 from CodaFi/energetically-favorable-pathways
2 parents 931a5df + 6b7f749 commit 81f2be2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/swift/AST/Types.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1825,12 +1825,6 @@ class SugarType : public TypeBase {
18251825
Bits.SugarType.HasCachedType = true;
18261826
}
18271827

1828-
void setUnderlyingType(Type type) {
1829-
assert(!Bits.SugarType.HasCachedType && "Cached type already set");
1830-
Bits.SugarType.HasCachedType = true;
1831-
UnderlyingType = type.getPointer();
1832-
}
1833-
18341828
public:
18351829
/// Remove one level of top-level sugar from this type.
18361830
Type getSinglyDesugaredTypeSlow();

0 commit comments

Comments
 (0)