Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdbrnowski committed Dec 16, 2024
1 parent 0ddeba6 commit deba9d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/semantic/input_compound_assignments.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
a = 1;
b = 2;
b = 2.0;
c = eye(5);

a -= 1;
Expand Down
2 changes: 1 addition & 1 deletion utils/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __mul__(self, other):
if isinstance(other, Int):
if self.value is not None and other.value is not None:
return Int(self.value * other.value)
return Int(self.value * other.value)
return Int()
raise TypeError()

def __truediv__(self, other):
Expand Down

0 comments on commit deba9d9

Please sign in to comment.