Community
Participate
Working Groups
def test(Object x) { switch x { String[] : x.get(0) } } translates to public String test(final Object x) { String _switchResult = null; boolean matched = false; if (!matched) { if (x instanceof String[]) { final String[] _string[] = (String[])x; matched=true; final String[] _typeConverted__string[] = (String[])_string[]; String _get = ((List<String>)Conversions.doWrapArray(_typeConverted__string[])).get(0); _switchResult = _get; } } return _switchResult; }
Pushed to MASTER
Closing all bugs that were set to RESOLVED before Neon.0