stan 合并了合并请求 ZenScript/ZenScript#15
fix optionals not inheriting nullable and expecting a default type
5 年前
stan 关闭了合并请求 ZenScript/ZenScript#15
fix optionals not inheriting nullable and expecting a default type5 年前
stan 评论了工单 ZenScript/ZenScript#15
fix optionals not inheriting nullable and expecting a default typeAs discussed just ago in Discord, it does meet user expectations that an @Optional would also imply that the value is nullable. For integer and floating-point values, there are dedicated annotations anyways, and @Optional doesn't yet have the ability for default values up to this point.
5 年前
stan 评论了工单 ZenScript/ZenScript#15
fix optionals not inheriting nullable and expecting a default typeHaving a look (and thinking about it), actually this isn't how I would fix it. When marked as @Optional, the parameter should get a default value; which is in this case would be 0 or null dependending on the type of the parameter. This should be fixed in the JavaNativeModule class. I'll take care of that.
6 年前
stan 推送了 development 分支的代码到 ZenScript/ZenScript
6 年前
stan 评论了工单 ZenScript/ZenScript#10
Java Native: Inner classes' NameI believe option 2 would be best, to translate these classes into what they actually are, inner classes.
6 年前
stan 推送了 development 分支的代码到 ZenScript/ZenScript
6 年前
stan 推送了 development 分支的代码到 ZenScript/ZenScript
6 年前
stan 推送了 development 分支的代码到 ZenScript/ZenScript
6 年前
stan 推送了 development 分支的代码到 ZenScript/ZenScript
6 年前
stan 推送了 development 分支的代码到 ZenScript/ZenScript
6 年前
stan 推送了 development 分支的代码到 ZenScript/ZenScript
6 年前
stan 推送了 development 分支的代码到 ZenScript/ZenScript
6 年前