groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "余佳昕" <yjx_yujia...@foxmail.com>
Subject Method with completely capitalized method name, omitting parentheses when calling will cause compilation to fail
Date Wed, 08 Jul 2020 04:51:26 GMT
In groovy 2.5.*, the following code will fail to compile:
def TEST(String name) {
    println name
}
TEST 'hello'
Mime
View raw message