You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packagetestclassTernary {
staticmain(args) {
def a =true?String.val|
}
}
Assume I want to call String.valueOf(boolean). Invoke code assist at "|": no suggestion is given.
In order to make Groovy give me some suggestions, I have to complete the second assignment, i.e. something like this:
def a =true?String.val| :'false'
If you invoke code assist at "|", it then works.
The text was updated successfully, but these errors were encountered:
Consider this example:
Assume I want to call
String.valueOf(boolean)
. Invoke code assist at "|": no suggestion is given.In order to make Groovy give me some suggestions, I have to complete the second assignment, i.e. something like this:
If you invoke code assist at "|", it then works.
The text was updated successfully, but these errors were encountered: