HaxeFoundation / HaxeFoundation/hashlink
Crash set interface
Open
- Dominant language
- C
- Stars
- 901
- Forks
- 201
- Avg merge
- 18h 9m
- Merged PRs (30d)
- 8
Description
The following example crash the VM:
```haxe
interface I {
public var __next(default, set) : I;
}
class Main implements I {
public var bits = 0;
public var __next(default, set) : I;
function set___next(v:I) {
return __next = v;
}
function new() {
}
static function foo( m : I ) {
m.__next = m;
}
static function main() {
var o = new Main();
foo(o);
o.__next.__next = o;
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.