Created
August 13, 2013 14:37
-
-
Save kt3k/6221753 to your computer and use it in GitHub Desktop.
groovy test
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
kt3k:groovy kt3k$ cat test2.groovy | |
println 'a'*2 | |
kt3k:groovy kt3k$ groovy test2.groovy | |
aa | |
kt3k:groovy kt3k$ cat test.groovy | |
println 2*'a' | |
kt3k:groovy kt3k$ groovy test.groovy | |
Caught: groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.multiply() is applicable for argument types: (java.lang.String) values: [a] | |
Possible solutions: multiply(java.lang.Number), multiply(java.lang.Character) | |
groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.multiply() is applicable for argument types: (java.lang.String) values: [a] | |
Possible solutions: multiply(java.lang.Number), multiply(java.lang.Character) | |
at test.run(test.groovy:1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment