Beef icon indicating copy to clipboard operation
Beef copied to clipboard

[Enhancement] Support dot notation for extensions

Open hunterbridges opened this issue 3 years ago • 0 comments

Would it be possible to support dot notation for extensions? Like so:

extension Foo.Bar
{
    ...
}

Ideally, Foo could be a namespace, struct, or class. Name resolution could use the same disambiguation validation as general type resolution.

(Currently, you have to nest multiple extension declarations to accomplish this)

hunterbridges avatar Apr 05 '22 23:04 hunterbridges