Right now, when I try to compile a specific project, I get this whether I compile to Neko:
Called from ? line 1
Called from CommandLineTools.hx line 977
Called from CommandLineTools.hx line 23
Called from CommandLineTools.hx line 108
Called from CommandLineTools.hx line 201
Called from platforms/WindowsPlatform.hx line 163
Called from helpers/FileHelper.hx line 294
Called from helpers/FileHelper.hx line 277
Called from helpers/FileHelper.hx line 126
Called from /usr/lib/haxe/std/haxe/Template.hx line 110
Called from /usr/lib/haxe/std/haxe/Template.hx line 356
Called from /usr/lib/haxe/std/haxe/Template.hx line 351
Called from /usr/lib/haxe/std/haxe/Template.hx line 372
Called from /usr/lib/haxe/std/haxe/Template.hx line 356
Called from /usr/lib/haxe/std/haxe/Template.hx line 396
Called from /usr/lib/haxe/std/neko/Lib.hx line 60
Called from /usr/lib/haxe/std/haxe/Template.hx line 391
Uncaught exception - Macro call upper(#function:1,image) failed (Invalid call)
Build halted with errors (haxelib.exe).
I get similar errors when compiling to Flash or C++.
I can't see why this happens, all I remember doing before this started happening was renaming a class and all references to it. I even changed them back and this keeps happening. It's only happening in this project, I made a new empty OpenFL project and that compiles fine.
Any idea what's up? I'm using Haxe 3.1.3 with FlashDevelop 4.6.1 and OpenFL 2.0.0.