Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Consider the following:
@groovy.transform.CompileStatic boolean test(a,b) { a !in b }
"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).
Attachments
Issue Links
- relates to
-
GROOVY-10915 SC: class that provides isCase but not isNotCase
- Closed
-
GROOVY-10909 bytecode for in, !in, !() and ?:
- Closed