HaxeFoundation / HaxeFoundation/haxe

[hl] Function variance creates a new function

Open
#10,031 1 comment 0 reactions 1 assignee Claimed by @ncannasse View on GitHub
bug platform-hl
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

```haxe
function main() {
function f1(x:Float) { }
var f2 = f1;
var f3:Int -> Void = f1;
trace(f1 == f2); // true
trace(f1 == f3); // HL: false. Other targets: true
}
```

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.