Details: Failed invoking <symbol>

I have the following code:
class GameConfig {
    const NAME = 0;
    const ICON = 1;
...
}
var gameConfig = new GameConfig(); // <-- line 30
And it always throws:
Error: Symbol Not Found Error
Details: Failed invoking <symbol>
Stack:
  - <init>() at ...\source\GameConfig.mc:30 0x1000036a
  -
Native code0x80000000
 
It worked a while ago but now it always throws this error. If I comment the line out, it throws on the next similar line
that creates a class and then an instance of it.
What is wrong here / What has changed in the syntax?

Top Replies

All Replies