@@ -18,7 +18,7 @@ object TestNoAutoTupling {
18
18
a.foo()
19
19
a.foo(1 )
20
20
21
- a.foo(" " ) // Without implicits, a type error regarding invalid argument types is generated at `""`. This is
21
+ a.foo(" " ) // Without implicits, a type error regarding invalid argument types is generated at `""`. This is
22
22
// the same position as an argument, so the 'second try' typing with an Implicit View is tried,
23
23
// and AToRichA(a).foo("") is found.
24
24
//
@@ -29,7 +29,6 @@ object TestNoAutoTupling {
29
29
30
30
a.foo(" a" , " b" ) // Without implicits, a type error regarding invalid arity is generated at `foo(<error>"", "")`.
31
31
// Typers#tryTypedApply:3274 only checks if the error is as the same position as `foo`, `"a"`, or `"b"`.
32
- // None of these po
33
32
}
34
33
35
34
// t0851 is essentially the same:
@@ -54,7 +53,7 @@ object Main {
54
53
}
55
54
}
56
55
57
- object TestWithAutoTuling {
56
+ object TestWithAutoTupling {
58
57
59
58
implicit def AToRichA (a : A ): RichA = new RichA
60
59
@@ -73,6 +72,5 @@ object TestWithAutoTuling {
73
72
74
73
a.foo(" a" , " b" ) // Without implicits, a type error regarding invalid arity is generated at `foo(<error>"", "")`.
75
74
// Typers#tryTypedApply:3274 only checks if the error is as the same position as `foo`, `"a"`, or `"b"`.
76
- // None of these po
77
75
}
78
76
0 commit comments