Created
June 9, 2011 14:51
-
-
Save RobertFischer/1016878 to your computer and use it in GitHub Desktop.
Groovy Demonistration of Resolving (String, int, Object) in the face of (String, Object...) and (String, int, Object...)
This file contains hidden or 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
def x(String a, int b, Object... c) { "1" } | |
def x(String a, Object... c) { "2" } | |
System.out.println(x("a", 1, new Object())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment