haxe-sublime-bundle icon indicating copy to clipboard operation
haxe-sublime-bundle copied to clipboard

unable to recognise --interp target

Open andyli opened this issue 10 years ago • 8 comments

It seems the bundle is unable to recognise the macro target (--interp), which leads to code completion error.

A sample build.hxml:

-main Test
--interp

andyli avatar Aug 22 '14 14:08 andyli

I wasn't aware of this 'target', indeed. I'll look into it ASAP.

clemos avatar Aug 23 '14 09:08 clemos

While you're at it, there is also --run. ;)

It is used like:

-cp src
-debug
--run Main

andyli avatar Aug 23 '14 12:08 andyli

It should work now :)

clemos avatar Aug 25 '14 09:08 clemos

Can you please confirm / close this issue ?

clemos avatar Sep 05 '14 07:09 clemos

Sadly it still does not work for me.

build.hxml

-main Test
--interp

Test.hx

class Test {
    static function main():Void {
        [].
    }
}

This message shows up: screen shot 2014-09-05 at 3 33 32 pm

andyli avatar Sep 05 '14 07:09 andyli

It's weird, I can't reproduce... Anything else :p ?

clemos avatar Sep 05 '14 07:09 clemos

Not sure what is relevant, but I've tried:

  • switching between haxe 3.1.3 and development, same error

  • changing the build.hxml to

     -main Test
     -js Test.js
    

    no error, code completion success.

  • switch to my Windows machine, no error, code completion success... so the error occurs only on Mac?

andyli avatar Sep 05 '14 08:09 andyli

Yes, it's possibly a Mac error. I suspect there is an empty command line arg somewhere, that Mac OS doesn't like. I'll try to look into it.

clemos avatar Sep 05 '14 09:09 clemos