bool类型时是否has_config返回true更合理? #4873
Unanswered
Dozingfiretruck
asked this question in
Q&A
Replies: 1 comment 17 replies
-
目前就是返回 true xmake/xmake/core/project/config.lua Line 300 in e1d5f43 至于 false,目前返回的是 nil,发不返回 false 其实没啥,走 |
Beta Was this translation helpful? Give feedback.
17 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
has_config更像是该选项是否配置生效的意思?如果是这样那bool类型配置成false是否has_config返回true更合理,然后通过get_config获取具体值,和字符串处理一样,这样理解上来看更合理,使用也更统一
Beta Was this translation helpful? Give feedback.
All reactions