when using same name for variable and type in forloop you get a stacktrace. the following code as example :

entity A {

    test -> List<A> 

function error() {
	for (A : A in this.test){
		
	}
	for (A : A in this.test){
		
	}
  }
}

second for loop is needed otherwise it works

Submitted by chris melman on 26 June 2012 at 17:00

Log in to post comments