This code breaks Trans and Ted

Monkey Forums/Monkey Bug Reports/This code breaks Trans and Ted

ziggy(Posted 2013) [#1]
This is the code:
Private
Function Main()
End

It makes Trans cause this error:
Monkey Runtime Error : Memory access violation
But the Trans app itself is kept in a sort of debug without debug info status. Jungle handles this, but Ted is kept in a status where nothing else can be built unless you restart the editor.

I managed to reduce to this simple code after a while of seeing Trans fail until I realised there was a Private identifier before the Main function.


Gerry Quinn(Posted 2013) [#2]
A division by zero will do that for you too, or used to.


ziggy(Posted 2013) [#3]
At compile time? It does not here. But this one is a sort of double bug both in Trans and in Ted