mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-09 08:31:29 +00:00
Load 'equals' parameter from Java code with the name 'other'
This fixes a lot of warnings on mixed Kotlin+Java code about different names for the same parameter because we always loaded 'equals' parameter with the name 'p0', whereas in Kotlin we usually name it 'other'
This commit is contained in:
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
public trait InterfaceWithObjectMethods : java.lang.Object {
|
||||
public abstract override /*1*/ fun clone(): jet.Any?
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ p0: jet.Any?): jet.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: jet.Any?): jet.Boolean
|
||||
public abstract override /*1*/ fun finalize(): jet.Unit
|
||||
public final override /*1*/ /*fake_override*/ fun getClass(): java.lang.Class<out jet.Any?>
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): jet.Int
|
||||
|
||||
Reference in New Issue
Block a user