You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
在
loslib.c
内的345行附近可以找到lua库函数os.time
的C
实现如下:但是我发现
os.time({})
构造参数时会诊断为"缺少字段". 这似乎与实现的默认行为有些出入.然后我查看了一下
osdate
的定义, 个人认为可以加上?
来保证默认诊断与函数的实现行为一致. 例如这样:Beta Was this translation helpful? Give feedback.
All reactions