HaxeFoundation / HaxeFoundation/haxe
Cppia: Additional basic types initialize to null
Open
platform-cpp
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
The following program:
```class Main
{
public var f:cpp.Float32; // it can be other kinds of cpp.[U]Int* types
public function new()
{
trace(f);
}
public static function main()
{
new Main();
}
}
```
traces `null`, while `0` would be expected
Contributor guide
Assessment
This issue has not been assessed yet.