-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xlua访问用Dicitonary<string,string>拿不到值 #707
Comments
请问这是故意不支持的?能否指出相关代码在哪里,我可能需要这个功能 |
建议修改metatable添加这功能 |
我尝试了一下,得到的是死循环: |
lua从C#拿到一个dictionary,在lua中使用 csharpDic[key]方式去取值的时候,当key类型为string时返回空,当key为int和object时可以正常工作。测试之后发现当类型为string时index函数不会被调用。测试代码如下:
C#代码
Lua代码:
打印结果:
The text was updated successfully, but these errors were encountered: