Skip to content
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

無法在Java 物件函數使用自己傳回的數值,會exception #33

Open
WeiHungHuang opened this issue Mar 22, 2021 · 0 comments
Open

Comments

@WeiHungHuang
Copy link

請見附檔
新增了Pattern 這個物件
Pattern 有 similar() 和 getSimilar() 這兩個函數
如果直接將相同物件getSimilar() 的回傳值給similar(),會造成exception
pattern:similar(pattern:getSimilar())
GET LUA VARIABLE 'V1' 會不正常
如果將此行拿掉則會正常

另外,間接設定similar 則會正常
sim = pattern:getSimilar()
pattern:similar(sim)

problem.zip

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

No branches or pull requests

1 participant