HaxeFoundation / HaxeFoundation/haxe

static extension on Class<Abstract>

Open
#9,568 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

would it be possible to make this work?

```haxe
using Main;

class C {}
abstract A(Int) {}

function f1(c:Class) {}
function f2(c:Class) {}

function main() {
C.f1(); // works
A.f2(); // doesn't work
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.