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
{{ message }}
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
在 OpcodeExecutor 的栈内,应该所有内容均是Variable,但是现在我们有很多时候混入了一些其他类型变量,所以我们考虑在所有入栈出栈操作上都加上 isinstance(val, VariableBase) 的检查,这可以通过如下方式实现:
简化栈操作,栈操作只允许访问栈顶,只包含 push、pop 等简单操作,不允许直接访问和替换栈
在有限的栈操作上加上检查项,确保入栈出栈都是 Variable(其实只需要保证入栈是就好了)
相关讨论见 #138 (comment)
The text was updated successfully, but these errors were encountered: