Skip to content

Commit 5fce3f9

Browse files
authored
Merge pull request swiftlang#71715 from eltociear/patch-50
Fix typo in runtime-polymorphism.swift
2 parents a08c240 + 0c1ffb1 commit 5fce3f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/Cxx/class/inheritance/runtime-polymorphism.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PolymorphismTestSuite.test("Call overridden methods with pointer to base type")
1616
let shape = MakeShape()
1717

1818
// DOES NOT WORK: executes the Shape implementation, not the Rectangle
19-
// version, and thus fails the comparision (0 != 4)
19+
// version, and thus fails the comparison (0 != 4)
2020
// Filed as https://github.com/apple/swift/issues/62354.
2121
expectEqual(shape!.pointee.NumberOfSides(), 4)
2222
}

0 commit comments

Comments
 (0)