blob: 5a9850290891f8c17d80db0fd5864d360c46069f (
plain) (
tree)
|
|
class Testable(val c: String) extends AnyVal {
def matching(cases: Boolean*) = cases contains true
}
object Test extends dotty.runtime.LegacyApp {
assert(new Testable("").matching(true, false))
}
|