Move SAM constructors to synthetic scope
This commit is contained in:
-1
@@ -1,6 +1,5 @@
|
||||
package
|
||||
|
||||
public /*synthesized*/ fun A(/*0*/ function: () -> kotlin.Int): A
|
||||
public fun foo(/*0*/ c: C): kotlin.Unit
|
||||
|
||||
public interface A {
|
||||
|
||||
Vendored
-2
@@ -1,7 +1,5 @@
|
||||
package
|
||||
|
||||
public /*synthesized*/ fun JavaInterface1(/*0*/ function: () -> kotlin.String!): JavaInterface1
|
||||
public /*synthesized*/ fun JavaInterface2(/*0*/ function: (value: kotlin.Int) -> kotlin.Unit): JavaInterface2
|
||||
public fun foo(/*0*/ k: KotlinClass): kotlin.Unit
|
||||
public fun useString(/*0*/ i: kotlin.String): kotlin.Unit
|
||||
|
||||
|
||||
Vendored
-2
@@ -1,7 +1,5 @@
|
||||
package
|
||||
|
||||
public /*synthesized*/ fun JavaInterface1(/*0*/ function: () -> kotlin.String!): JavaInterface1
|
||||
public /*synthesized*/ fun JavaInterface2(/*0*/ function: (value: kotlin.String!) -> kotlin.Unit): JavaInterface2
|
||||
public fun foo(/*0*/ k: KotlinClass): kotlin.Unit
|
||||
public fun useString(/*0*/ i: kotlin.String): kotlin.Unit
|
||||
|
||||
|
||||
Vendored
-2
@@ -1,7 +1,5 @@
|
||||
package
|
||||
|
||||
public /*synthesized*/ fun JavaInterface1(/*0*/ function: () -> kotlin.String!): JavaInterface1
|
||||
public /*synthesized*/ fun JavaInterface2(/*0*/ function: (value: kotlin.String!) -> kotlin.Unit): JavaInterface2
|
||||
public fun foo(/*0*/ k: KotlinClass): kotlin.Unit
|
||||
public fun useString(/*0*/ i: kotlin.String): kotlin.Unit
|
||||
|
||||
|
||||
Vendored
-1
@@ -1,6 +1,5 @@
|
||||
package
|
||||
|
||||
public /*synthesized*/ fun JavaInterface1(/*0*/ function: () -> kotlin.String!): JavaInterface1
|
||||
public fun foo(/*0*/ k: KotlinClass): kotlin.Unit
|
||||
public fun useString(/*0*/ i: kotlin.String): kotlin.Unit
|
||||
|
||||
|
||||
-2
@@ -1,7 +1,5 @@
|
||||
package
|
||||
|
||||
public /*synthesized*/ fun JavaInterface(/*0*/ function: () -> kotlin.Int): JavaInterface
|
||||
public /*synthesized*/ fun JavaInterface2(/*0*/ function: () -> kotlin.Int): JavaInterface2
|
||||
public fun foo(/*0*/ o: JavaInterface2): kotlin.Int
|
||||
|
||||
public abstract class BaseClass : JavaInterface {
|
||||
|
||||
compiler/testData/diagnostics/tests/syntheticExtensions/javaProperties/SmartCastImplicitReceiver.txt
Vendored
-1
@@ -1,6 +1,5 @@
|
||||
package
|
||||
|
||||
public /*synthesized*/ fun JavaInterface(/*0*/ function: () -> kotlin.Int): JavaInterface
|
||||
public fun kotlin.Any.foo(): kotlin.Int
|
||||
|
||||
public abstract class BaseClass : JavaInterface {
|
||||
|
||||
Vendored
-1
@@ -1,6 +1,5 @@
|
||||
package
|
||||
|
||||
public /*synthesized*/ fun A(/*0*/ function: () -> kotlin.Int): A
|
||||
public fun </*0*/ T : B> foo(/*0*/ t: T): kotlin.Unit
|
||||
|
||||
public interface A {
|
||||
|
||||
Reference in New Issue
Block a user