groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] adithyank commented on issue #806: GROOVY-8831: Add instance methods from `String` to `GString`
Date Fri, 14 Dec 2018 04:06:40 GMT
adithyank commented on issue #806: GROOVY-8831: Add instance methods from `String` to `GString`
URL: https://github.com/apache/groovy/pull/806#issuecomment-447206756
 
 
   > FYI, `'abc'.md5()`
   
   ```bash
   adithyan@adithyan:~$ groovy -e 'println "abc".md5()'
   Caught: groovy.lang.MissingMethodException: No signature of method: java.lang.String.md5()
is applicable for argument types: () values: []
   Possible solutions: any(), is(java.lang.Object), any(groovy.lang.Closure), use([Ljava.lang.Object;),
use(java.util.List, groovy.lang.Closure), use(java.lang.Class, groovy.lang.Closure)
   groovy.lang.MissingMethodException: No signature of method: java.lang.String.md5() is applicable
for argument types: () values: []
   Possible solutions: any(), is(java.lang.Object), any(groovy.lang.Closure), use([Ljava.lang.Object;),
use(java.util.List, groovy.lang.Closure), use(java.lang.Class, groovy.lang.Closure)
           at script_from_command_line.run(script_from_command_line:1)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message