Fix errors
This commit is contained in:
parent
c7e4a0aeca
commit
7bc353c7aa
@ -1,5 +1,5 @@
|
||||
a: (int, int) = (0, 1);
|
||||
for i in range(0, 100) {
|
||||
a = (a[1], a[0] + a[1]);
|
||||
print(int_to_str(a[0])+"\n");
|
||||
a = (a.1, a.0 + a.1);
|
||||
print(int_to_str(a.0)+"\n");
|
||||
}
|
@ -43,7 +43,7 @@ class TypeSpecification(TypeExpression):
|
||||
types: List[TypeExpression]
|
||||
|
||||
def represent(self) -> str:
|
||||
return f'{self.type.represent()}<{', '.join([type.represent() for type in self.types])}>'
|
||||
return f"{self.type.represent()}<{', '.join([type.represent() for type in self.types])}>"
|
||||
|
||||
@dataclass
|
||||
class FunctionTypeExpr(TypeExpression):
|
||||
|
Loading…
Reference in New Issue
Block a user