Read*BinaryClassTest: type parameter with two upper bounds
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
package test
|
||||
|
||||
trait Foo
|
||||
trait Bar
|
||||
|
||||
fun <T> foo()
|
||||
where T : Foo, T : Bar
|
||||
= #()
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
namespace test
|
||||
|
||||
abstract trait test.Foo : jet.Any {
|
||||
}
|
||||
abstract trait test.Bar : jet.Any {
|
||||
}
|
||||
final fun </*0,r*/ T : test.Bar & test.Foo>foo(): jet.Tuple0
|
||||
Reference in New Issue
Block a user