Skip to content

Commit cbce659

Browse files
authored
Merge pull request #37 from ShapelessCat/fix-CaseObjectHashCode
Fix CaseObjectHashCode script
2 parents a8823d2 + 53ce5d3 commit cbce659

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/script/scala/progscala3/objectsystem/hashcode/CaseObjectHashCode.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ println(s"O1: ${O1.hashCode} == ${"O1".hashCode}")
1212
println(s"O2: ${O2.hashCode} == ${"O2".hashCode}")
1313
println(s"O3: ${O3.hashCode} != ${"O3".hashCode}")
1414
println(s"O3.O4: ${O3.O4.hashCode} != ${"O3.O4".hashCode}")
15-
println(s"03.04 vs. 04: ${O3.O4.hashCode} == ${"O4".hashCode}")
16-
println(s"03.04 vs. 03: ${O3.O4.hashCode} == ${"O3".hashCode}")
15+
println(s"O3.O4 vs. O4: ${O3.O4.hashCode} == ${"O4".hashCode}")
16+
println(s"O3.O4 vs. O3: ${O3.O4.hashCode} != ${"O3".hashCode}")

0 commit comments

Comments
 (0)