Trying to compile the autogenerated example test (made with the standard haxelib run munit gen, then running with haxelib run munit t with or without -coverage) for a HaxeFlixel game (flash target), using MUnit 2.1.2 with Haxe 3.2.1 on Windows 7. I get:
HaxeWrapper.hx:73: --macro:1: character 0 : Invalid package : subfolder should be <empty>
...where subfolder is a subfolder of my main source directory. The game itself compiles fine, with references to subfolder.* (and subfolder.nestedsubfolder.* etc.) packages all over the place, but also some classes in source itself with the namespace simply package;.
The line number given doesn't exactly tell me what I might need to fix within my project...before I try digging (over my head) into HaxeWrapper.hx, is this a known issue with having subfolders/different package names within a project, or something?
BTW I have another project where this doesn't happen, but in that project, source only contains one subfolder, and everything in there shares that same package namespace (i.e. package subfolder;). (Hence my question.)
Update
I had mcover also working on my project earlier, just for a manual testing metric. Since then it grew a lot, and as a consequence, I organized things into package subfolders. Meanwhile I hadn't tried it with mcover enabled, because it made stepping during debugging more cumbersome. Now when I re-enable mcover, my project won't compile, giving the same error message as the above, but without the HaxeWrapper.hx:73: prefix.