Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielleraujo committed Apr 24, 2022
1 parent 934cbc0 commit 6986063
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
- Functions
- Vector initialization
- Vectors
- Compoused assignment Operators
- Unary Operators
- Initialization of variables ✔️
- Error detection ✔️

Expand Down
3 changes: 1 addition & 2 deletions headers/implicitConversion.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#ifndef IMPLICITCONVERSION_H
#define IMPLICITCONVERSION_H

#include <string>
#include <map>

#include "../headers/struct.hpp"


Expand Down
7 changes: 0 additions & 7 deletions src/implicitConversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#include "../headers/coercion.hpp"
#include "../headers/scope.hpp"
#include "../headers/struct.hpp"
#include <map>
#include <iostream>


using namespace std;
Expand All @@ -14,11 +12,6 @@ using namespace std;
Attribute resolveAssignmentType(Attribute left, string operador, Attribute right)
{
Symbol leftSimbol = getSymbolAnywere(left.label);

cout << "Assignment:\n" << endl;
cout <<"//left.type: " << leftSimbol.type << " operador: " << operador << " right.type: " << right.type<< endl;


Coercion coercion = getCoercion(leftSimbol.type, operador, right.type);

Attribute actual = createActualAttribute(coercion.returnedType);
Expand Down

0 comments on commit 6986063

Please sign in to comment.