HaxeFoundation / HaxeFoundation/haxe
Merged contraints lead to invalid type
Open
bug
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
```haxe
class Test {
static function main() {
var x: { foo: Int, bar: Int, ohno: Int } = merge({ foo: 1}, { bar: 2});
}
static function merge(a:A, b:B):C {
return null;
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.