|
1 | 1 | package tests.extensionParams
|
2 | 2 |
|
3 | 3 | extension [A](thiz: A)
|
4 |
| - def toTuple2[B](that: B): (A, B) = thiz -> that |
5 |
| - |
| 4 | + def toTuple2[B](that: B): (A, B) |
| 5 | + = thiz -> that |
6 | 6 | extension [A](a: A)(using Int)
|
7 |
| - def f[B](b: B): (A, B) = ??? |
| 7 | + def f1[B](b: B): (A, B) |
| 8 | + = ??? |
8 | 9 |
|
9 | 10 | extension [A](a: A)(using Int)
|
10 |
| - def ff(b: A): (A, A) = ??? |
| 11 | + def f2(b: A): (A, A) |
| 12 | + = ??? |
11 | 13 |
|
12 | 14 | extension [A](a: A)(using Int)
|
13 |
| - def fff(using String)(b: A): (A, A) = ??? |
| 15 | + def f3(using String)(b: A): (A, A) |
| 16 | + = ??? |
14 | 17 |
|
15 | 18 | extension (a: Char)(using Int)
|
16 |
| - def ffff(using String)(b: Int): Unit = ??? |
| 19 | + def f4(using String)(b: Int): Unit |
| 20 | + = ??? |
17 | 21 |
|
18 | 22 | extension (a: Char)(using Int)
|
19 |
| - def fffff[B](using String)(b: B): Unit = ??? |
| 23 | + def f5[B](using String)(b: B): Unit |
| 24 | + = ??? |
20 | 25 |
|
21 | 26 | extension [A <: List[Char]](a: A)(using Int)
|
22 |
| - def ffffff[B](b: B): (A, B) = ??? |
| 27 | + def f6[B](b: B): (A, B) |
| 28 | + = ??? |
| 29 | + |
| 30 | +extension [A <: List[Char]](using String)(using Unit)(a: A)(using Int)(using Number) |
| 31 | + def f7[B, C](b: B)(c: C): (A, B) |
| 32 | + = ??? |
| 33 | + |
| 34 | +extension [A <: List[Char]](using String)(using Unit)(a: A)(using Int)(using Number) |
| 35 | + def f8(b: Any)(c: Any): Any |
| 36 | + = ??? |
| 37 | + |
| 38 | +extension [A <: List[Char]](using String)(using Unit)(a: A)(using Int)(using Number) |
| 39 | + def f9[B, C](using Int)(b: B)(c: C): (A, B) |
| 40 | + = ??? |
| 41 | + |
| 42 | +extension [A <: List[Char]](using String)(using Unit)(a: A)(using Int)(using Number) |
| 43 | + def f10(using Int)(b: Any)(c: Any): Any |
| 44 | + = ??? |
0 commit comments