HaxeFoundation / HaxeFoundation/hashlink
Type checking bypass
Open
- Dominant language
- C
- Stars
- 901
- Forks
- 201
- Avg merge
- 18h 9m
- Merged PRs (30d)
- 8
Description
The following bypass the type checking and will trace an invalid value.
```haxe
class Test {
static function main() {
var o = new Array();
o.push(123);
var n : Null = (o : Dynamic)[0];
trace((n:Float));
}
}
```
Type checking is required on accessing Dynamic with array.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.