Eric Milles created GROOVY-9733:
-----------------------------------

             Summary: SC/STC: unary operator consistency and error for 
unsupported operations
                 Key: GROOVY-9733
                 URL: https://issues.apache.org/jira/browse/GROOVY-9733
             Project: Groovy
          Issue Type: Bug
            Reporter: Eric Milles


Unanswered items from GROOVY-9704:

Q1: SC adds support for unary +, - and ~ for the char type. Under STC, these 
all throw MissingMethodException, which is consistent with Character. Should SC 
have char removed from the 3 unary operator optimizations for consistency?

Q2: For the unsupported operation cases (~ on floating-point types, etc.) 
should STC be producing some error?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to