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
[error] ./test.scala:5:56
[error] Recursive value Default needs type
[error]
[error] The error occurred while trying to compute the signature of value Default
[error] which required to typethe right hand side of value Default since no explicit typewasgiven
[error] which required to compute the signature of method apply$default$2
[error] which required to typethe right hand side of method apply$default$2 since no explicit typewasgiven
[error] which required to compute the signature of value Default
[error]
[error] Runwith both -explain-cyclic and -Ydebug-cyclic to see full stack trace.
[error] defapply(maybeLang: Option[String], default: Lang=Default):Lang= maybeLang.map(apply).getOrElse(default)
[error] ^
Error compiling project (Scala3.6.0-RC1-bin-20240907-614170f-NIGHTLY, JVM (17))
Expectation
Non inlined methods should not require explicit rhs type.
The text was updated successfully, but these errors were encountered:
Compiler version
Last good release: 3.6.0-RC1-bin-20240821-a2c53a1-NIGHTLY
First bad release: 3.6.0-RC1-bin-20240822-d490d13-NIGHTLY
Bisect points to b34df4d
Minimized code
Output
Expectation
Non inlined methods should not require explicit rhs type.
The text was updated successfully, but these errors were encountered: