Skip to content

Instantly share code, notes, and snippets.

@stickupkid
Created May 31, 2012 08:23
Show Gist options
  • Save stickupkid/2841881 to your computer and use it in GitHub Desktop.
Save stickupkid/2841881 to your computer and use it in GitHub Desktop.
NoSuchMethod
enum Wildcard {
_;
}
class WildcardExtension {
public static function someMethod(w:Wildcard):Void {
// Do something.
}
}
using Wildcard;
class Test {
public static function main():Void {
_.myMethod; // <-- I want to catch the error so I can build a reflect method at macro time.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment