Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

成员变量有自定义类数组导出后运行崩溃 #34

Open
cloudending opened this issue Jun 28, 2020 · 1 comment
Open

成员变量有自定义类数组导出后运行崩溃 #34

cloudending opened this issue Jun 28, 2020 · 1 comment

Comments

@cloudending
Copy link

//c#
class B {}
class A {
    B[] b_array;
}

比如这段代码,将A与B导出后A的ts声明:

class A {
    b_array: B[]
}

看起来没啥问题,但是如果去获取b_array的数据时会崩溃,Editor直接闪退了

@ialex32x
Copy link
Owner

嗯, 今天发现这个问题了, 疏忽了, 应该是导成 System.Array 的, 不是 T[]. quickjs 的这边已经修好了. 稍后再弄回这边.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants