We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.2.2 and 3.3.0-RC2
https://scastie.scala-lang.org/j5EDdUDcRsCCuDymUHM0PQ
final abstract class ForcedRecompilationToken[T] object ForcedRecompilationToken { inline implicit def materialize: ForcedRecompilationToken["x"] = null.asInstanceOf[ForcedRecompilationToken["x"]] } abstract class PluginDef[T](implicit val recompilationToken: ForcedRecompilationToken[T]) object X { val bad = new PluginDef {} // No given instance val good = new PluginDef() {} // ok } object DependingPlugin { class NestedDoublePlugin extends PluginDef object NestedDoublePlugin extends PluginDef }
No given instance of type ForcedRecompilationToken[Nothing] was found for parameter recompilationToken of constructor PluginDef in class PluginDef
Expected to compile, as in Scala 2.
Expected the parentheses to be purely cosmetic in this position.
Previous similar issue: #15976
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Compiler version
3.2.2 and 3.3.0-RC2
Minimized code
https://scastie.scala-lang.org/j5EDdUDcRsCCuDymUHM0PQ
Output
Expectation
Expected to compile, as in Scala 2.
Expected the parentheses to be purely cosmetic in this position.
Previous similar issue: #15976
The text was updated successfully, but these errors were encountered: