Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | Jochen Theodorou <blackd...@gmx.org> |
Subject | Re: @CompileStatic void method returns null ? |
Date | Tue, 28 Aug 2018 18:42:19 GMT |
On 28.08.2018 19:45, mg wrote: > Since I just stumbled across this behavior while helping a junior > developer debug his code: Why does statically compiled Groovy (2.5.2) > return null from void methods, instead of raising a compile error ? i was actually not aware we kept this logic for static compilation, but essentially it is like that because of dynamic Groovy, which derives this from the reflective and methodhandles based method invocation bye Jochen | |
Mime |
|
View raw message |