Closed
Description
object Test {
implicit class Foo(i: Int, s: String)
}
Fails in scalac
with
Foo.scala:2: error: implicit classes must accept exactly one primary constructor parameter
implicit class Foo(i: Int, s: String)
^
one error found
But not on dotc
. This error should probably be emitted when desugaring the implicit class
.