MonadLaws.tailRecMStackSafety is currently a val; this means MonadTests[M].stackUnsafeMonad checks for stack safety anyway as soon as the MonadLaws[M] instance is created
Good catch! I think a lazy val might be best but a def would work too.
We should also look into testing stackUnsafeMonad by changing MonadTestsTests to use a stack-unsafe monad.
Ugh, I think this must have been my fault. Thanks for catching it, @TrustNoOne.
Most helpful comment
Good catch! I think a
lazy valmight be best but adefwould work too.