HaxeFoundation / HaxeFoundation/haxe
[hl] Function variance creates a new function
Open
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
Assessment
This issue has not been assessed yet.