Explorar o código

Remove log calls from smenatic analyser

Lucas de Souza %!s(int64=5) %!d(string=hai) anos
pai
achega
053616b334
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      js/processor/semantic/semanticAnalyser.js

+ 2 - 2
js/processor/semantic/semanticAnalyser.js

@@ -273,7 +273,7 @@ export class SemanticAnalyser {
   evaluateArrayLiteral (arrayDeclaration) {
     const type =  arrayDeclaration.type;
     const literal = arrayDeclaration.initial;
-    console.log(arrayDeclaration);
+    // console.log(arrayDeclaration);
     if(arrayDeclaration.isVector) {
       this.evaluateVectorLiteralType(literal, type);
     } else {
@@ -558,7 +558,7 @@ export class SemanticAnalyser {
   }
 
   evaluateVectorLiteralType (literal, type) {
-    console.log(literal);
+    // console.log(literal);
     for(let i = 0; i < literal.value.length; i+=1) {
       const exp = literal.value[i];
       const expType = this.evaluateExpressionType(exp);