Closed kjx closed 8 years ago
so that we can do stuff something like:
method assert(value) hasType (Desired) { match (value) case { _:Desired -> countOneAssertion } case { _ -> failBecause "{value} is missing methods {(mirrors.typeOf(value) - Desired).methods}" }
They do, at least in minigrace. So this is a spec issue, I think.
I'm happy to support those uses.
It's in the spec (Type Subtraction). So I'm closing this because there is nothing to do.
so that we can do stuff something like: