Skip to content

Commit deba9d9

Browse files
committed
Fix bugs
1 parent 0ddeba6 commit deba9d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/semantic/input_compound_assignments.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
a = 1;
2-
b = 2;
2+
b = 2.0;
33
c = eye(5);
44

55
a -= 1;

utils/types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __mul__(self, other):
7575
if isinstance(other, Int):
7676
if self.value is not None and other.value is not None:
7777
return Int(self.value * other.value)
78-
return Int(self.value * other.value)
78+
return Int()
7979
raise TypeError()
8080

8181
def __truediv__(self, other):

0 commit comments

Comments
 (0)