Skip to content

Instantly share code, notes, and snippets.

@frabbit
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save frabbit/312594c6a52f372259e2 to your computer and use it in GitHub Desktop.

Select an option

Save frabbit/312594c6a52f372259e2 to your computer and use it in GitHub Desktop.
class Foo {
using MyModule;
import MyObject;
public static function main () {
import MyObject;
using MyModule2;
import MyStatics.myMethod;
myMethod(4);
}
}
// vs
@:using(MyModule) @:import(MyObject)
class Foo {
public static function main () {
@:import MyObject;
@:using MyModule2;
@:import MyStatics.myMethod;
myMethod(4);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment