[ 
https://issues.apache.org/jira/browse/GROOVY-10383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King closed GROOVY-10383.
------------------------------

> SC: !in compiled to ScriptBytecodeAdapter#isNotCase
> ---------------------------------------------------
>
>                 Key: GROOVY-10383
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10383
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Static compilation
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 4.0.0-rc-2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Consider the following:
> {code:groovy}
> @groovy.transform.CompileStatic
> boolean test(a,b) {
>   a !in b
> }
> {code}
> "a !in b" requires similar compiler optimizations as "a in b" while still 
> maintaining null safety (GROOVY-6137) and single evaluation of its operands 
> (GROOVY-7473).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to