Haxe Forum > Import all classes in a package
Nicolás A. Ortega Aug 13 at 08:58
Hello, I was wondering how I can make the "import" statement import all the classes within a package, sort of like what is done in Java when you do this:
So I was wondering how I do that in HaXe, because I tried doing it that way (with a haxe library, of course), but it didn't work and gave me an error. If anyone has any suggestions, please comment bellow.
Liburn Aug 13 at 21:28
Not before Haxe3
Nicolás A. Ortega Aug 13 at 23:11
I think I have the latest version of HaXe, but it still won't work.
Liburn Aug 13 at 23:18
Maybe I wasn't clear: this feature will be supported in Haxe version 3. Current Haxe version is 2 (precisely 2.10).
Check above link: on the left side you can see Priority-haXe3.
Nicolás A. Ortega Aug 15 at 18:06
Sorry, I forgot which version HaXe was on. Yeah, ok, I guess I'm going to have to do it the hard way in the mean time.