Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
+3
-3
@@ -7,15 +7,15 @@ class B {
|
||||
}
|
||||
|
||||
fun test1(a: A): Int {
|
||||
return a[1]
|
||||
return a.get(1)
|
||||
}
|
||||
|
||||
fun test2(a: A): Int {
|
||||
return a[1, 2]
|
||||
return a.get(1, 2)
|
||||
}
|
||||
|
||||
fun test3(b: B): Int {
|
||||
return b[Unit, Unit]
|
||||
return b.get(Unit, Unit)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user