我正在尝试延续,我遇到了一个似乎表明@cpsParam 阻止隐式转换的案例。
我有
def v: T @cpsParam[Unit, Unit]
// ...and then later
v must_== 42
// where must_== is from specs/mockito
我得到编译器错误:
must_== is not a member of Int @cpsParam[Unit,Unit]
gist上提供了更完整的代码示例。
我犯了一个简单的错误吗?
谢谢,托弗。