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: issues/collectImpl.scala:4:24-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------4|valg= f.asInstanceOf[A=>B]
|^^^^^^^^^^^^^^^^^^^^^^| reference (caps.cap : caps.Cap) is not included in the allowed capture set {f}
| of an enclosing function literal with expected type () ->{f} Unit1 error found
Expectation
It should have compiled.
The text was updated successfully, but these errors were encountered:
Compiler version
main
Minimized code
Output
Expectation
It should have compiled.
The text was updated successfully, but these errors were encountered: