compiler testdata: s/trait/interface
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package h
|
||||
|
||||
//traits to make ambiguity with function literal as an argument
|
||||
trait A
|
||||
trait B
|
||||
trait C: A, B
|
||||
interface A
|
||||
interface B
|
||||
interface C: A, B
|
||||
|
||||
fun foo<T>(<!UNUSED_PARAMETER!>a<!>: A, f: () -> T): T = f()
|
||||
fun foo<T>(<!UNUSED_PARAMETER!>b<!>: B, f: () -> T): T = f()
|
||||
|
||||
Reference in New Issue
Block a user