groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniil Ovchinnikov <daniil.ovchinni...@jetbrains.com>
Subject char <-> Character
Date Tue, 31 Jul 2018 08:38:24 GMT
Hi, 

@groovy.transform.CompileStatic
def foo(char ch, Character character) {
    ch = character // [Static type checking] - Cannot assign value of type java.lang.Character
to variable of type char
    character = ch // [Static type checking] - Cannot assign value of type char to variable
of type java.lang.Character
}

More here https://issues.apache.org/jira/browse/GROOVY-7557.
Any updates on this?

—

Daniil Ovchinnikov
JetBrains



Mime
View raw message