Browse Source

fix https://gitee.com/ssssssss-team/magic-api/issues/I4HW07

mxd 3 years ago
parent
commit
d334343e9f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      magic-editor/src/console/src/scripts/parsing/ast.js

+ 2 - 2
magic-editor/src/console/src/scripts/parsing/ast.js

@@ -344,8 +344,8 @@ class UnaryOperation extends Node {
         this.atAfter = atAfter
     }
 
-    async getJavaType() {
-        return await this.operand.getJavaType();
+    async getJavaType(env) {
+        return await this.operand.getJavaType(env);
     }
 
 }