You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2020/08/31 17:07:33 UTC
[GitHub] [groovy] eric-milles commented on pull request #1358: GROOVY-9704: load minus one as long integer
eric-milles commented on pull request #1358:
URL: https://github.com/apache/groovy/pull/1358#issuecomment-683908808
*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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org