See email: 'with(Foo):' not allowed, why? in ' [email protected]' forum There's already an implementation proposed.
If this is going to be accepted I will most likely resort to DScanner rule that statically prohibits it, don't like such features. Even "attribute:" syntax can easily result in code obfuscation and should be used with caution - and this one is worse.
