Beef icon indicating copy to clipboard operation
Beef copied to clipboard

extension syntax can't be used with mixins

Open Rune-Magic opened this issue 2 months ago • 0 comments

minor inconviniece

class Foo {}
public static void Bar(this Foo foo) {}
public static mixin Bar(this Foo foo) {}

Foo foo = scope .();
foo.Bar();	// works
foo.Bar!();	// Cannot find mixin

Rune-Magic avatar Oct 01 '25 20:10 Rune-Magic