How about: ```python with match(myobj): with case(MyClass.MyConstructor) as x: x.y with case(MyClass.MyOtherConstructor) as x: x.z ``` I think I could implement this, but I'm not sure how I would implement exhaustiveness checking.