1
0
Kaynağa Gözat

Fix parseFunction () not calling parseType with scope FUNCTION

Lucas de Souza 7 yıl önce
ebeveyn
işleme
fc8e7bdfd0
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      js/ast/ivprogParser.js

+ 1 - 1
js/ast/ivprogParser.js

@@ -362,7 +362,7 @@ export class IVProgParser {
       return null;
     }
     this.pos++;
-    const returnType = this.parseType(true);
+    const returnType = this.parseType(IVProgParser.FUNCTION);
     const functionID = this.parseID(IVProgParser.FUNCTION);
     this.checkOpenParenthesis();
     this.pos++;