Created
May 31, 2012 08:23
-
-
Save stickupkid/2841881 to your computer and use it in GitHub Desktop.
NoSuchMethod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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