Skip to content

Conversation

@eric-milles
Copy link
Member

@eric-milles
Copy link
Member Author

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?

@asfgit asfgit closed this in cdee610 Aug 31, 2020
@paulk-asert
Copy link
Contributor

Merged, thanks. @eric-milles I'll split out your other questions into there own issues if needed. I'll investigate more shortly.

asfgit pushed a commit that referenced this pull request Sep 12, 2020
@eric-milles eric-milles deleted the GROOVY-9704 branch October 21, 2020 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants