You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile error when call an extension method directly on the result of "calling a nullary version of overloaded method with type arguments and without parenthesis" #14729
[error] -- [E134] Type Error: <snip>
[error] 35 | Bar.makeFoo[Int].ext()
[error] | ^^^^^^^^^^^
[error] |None of the overloaded alternatives of method makeFoo in object Bar with types
[error] | [A](s: String): com.example.Foo
[error] | [A] => com.example.Foo
[error] |match type arguments [Int] and expected type ?{ ext: ? }
[error] -- [E134] Type Error: <snip>
[error] 38 | (Bar.makeFoo[Int]).ext()
[error] | ^^^^^^^^^^^
[error] |None of the overloaded alternatives of method makeFoo in object Bar with types
[error] | [A](s: String): com.example.Foo
[error] | [A] => com.example.Foo
[error] |match type arguments [Int] and expected type ?{ ext: ? }