Skip to content

Commit

Permalink
.javaClass doesn't exist in JS, use ::class instead (PolymerLabs#6088)
Browse files Browse the repository at this point in the history
  • Loading branch information
cromwellian authored Sep 5, 2020
1 parent 4f69593 commit fa53887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/arcs/core/storage/Reference.kt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ data class Reference(

override fun equals(other: Any?): Boolean {
if (this === other) return true
if (javaClass != other?.javaClass) return false
if (this::class != other?.let { other::class }) return false

other as Reference

Expand Down

0 comments on commit fa53887

Please sign in to comment.