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 2021/10/20 01:03:43 UTC
[GitHub] [groovy] eric-milles opened a new pull request #1644: GROOVY-9006: STC: compare to null for types that overload equals
eric-milles opened a new pull request #1644:
URL: https://github.com/apache/groovy/pull/1644
This seemed like the best place to check for compare to null in STC. `getMathResultType` is pretty focused on numbers. Dynamic code still delegates to `ScriptBytecodeAdapter#compareNotEqual` and static compilation converts to `CompareToNullExpression` as before.
https://issues.apache.org/jira/browse/GROOVY-9006
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [groovy] eric-milles merged pull request #1644: GROOVY-9006: STC: compare to null for types that overload equals
Posted by GitBox <gi...@apache.org>.
eric-milles merged pull request #1644:
URL: https://github.com/apache/groovy/pull/1644
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@groovy.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org