Open jraman opened 10 years ago
@cheeseng @bvenners I guess NoArg
does not work anymore when using Scala 3 because it depends on DelayedInit
whose "...special handling ... is no longer supported..."? See https://docs.scala-lang.org/scala3/reference/dropped-features/delayed-init.html
@mkurz Yes you're right, NoArg will not work in Scala 3, I submitted the following PR to update NoArg about this:
https://github.com/scalatest/scalatest/pull/2228
Thanks for pointing it out!
In the scaladoc for
NoArg
:evaluating
in trait Matchers is deprecated.NoArg
no longer needs to be imported.It would be good to add an implementation for
MyActor
to make the example more complete.