opened
dpomier
username_0
The following code doesn't compile, and gives a stack overflow exception:
```haxe
var entities = new ecso.Entity.EntityGroup();
entities.foreachEntity(function(e:{x:Int}) {
	e.x = {
		var v = 3;
		v;
	}
});
```
Similar ASTs can be produced with inlined calls, such as `e.x = inline getValue()`, which is a common situation.
Entity mutation + capture variable
issue
closed
dpomier
username_0
issue