Scala compilation problem version 2.10.2

Hello Guys,

Could you please have a look at the the following replay and tell me what happened to my AI ?

I’m convinced that this is a compilation issue but unfortunately it’s happening randomly. I’ve put this debug line in my code right after the main method. It should have been displayed if it were a timeout issue related to my code execution.

def main(args: Array[String]) {
System.err.println(“game started”)


I reproduced this problem in a self-organised(not in arena) game, it reports as follows

Nothing <: Int?
Int <: AnyRef?
Zone.this.pods.type <: Array[T]?

Thanks for your help.

FYI, this happens less often when i submit in the morning :frowning: Does it mean it depends on the server load ?

stderr prints will sometimes not show on the same turn as a timeout unless you force a flush. I don’t know anything about Scala, but if there’s a stderr.flush() method, try doing that after your print.

In java/scala, System.err.println is line buffered, it’s flushed automatically but it seems that any message before the first read is ignored.

This message is displayed because the the -explaintypes option is enabled in the scala compiler. It seems that there is something wrong with the types but i don’t understand why it’s happening randomly.