Using the as keyword is the way to make a character literal in Groovy.
'a' as char
See the discussion here at Groovy’s buglist.
Using the as keyword is the way to make a character literal in Groovy.
'a' as char
See the discussion here at Groovy’s buglist.