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
Both transparent and -cc options are needed to receive error.
Output
[info] Executing in batch mode. For better performance use sbt's shell
[info] compiling 1Scala source to /Users/rssh/tests/dotty/cc-incorrect-recursive/target/scala-3.2.1-RC2/classes ...
[error] -- [E045] CyclicError:/Users/rssh/tests/dotty/cc-incorrect-recursive/src/main/scala/cps/CpsTransform.scala:34:14
[error] 34|valfr= cpsAsync[Future] {
[error] | ^
[error] |Recursive value fr needs type
[error] |----------------------------------------------------------------------------
[error] |Explanation (enabled by `-explain`)
[error] |--------------------------------------
[error] |The definition of value fr is recursive and you need to specify its type.
[error] ----------------------------------------------------------------------------
[error] Explanation
[error] ===========
[error] The definition of value fr is recursive and you need to specify its type.
Expectation
fr is not recursive, code should be compiled.
The text was updated successfully, but these errors were encountered:
Compiler version
3.2.1-RC2
Minimized code
Both transparent and -cc options are needed to receive error.
Output
Expectation
fr
is not recursive, code should be compiled.The text was updated successfully, but these errors were encountered: