We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e51418 commit 2f8084bCopy full SHA for 2f8084b
tests/errors/test_operator_01.py
@@ -0,0 +1,11 @@
1
+from lpython import i32, dataclass
2
+
3
+@dataclass
4
+class A:
5
+ n: i32
6
7
+def main0():
8
+ a: A = A(10)
9
+ print(-a)
10
11
+main0()
tests/tests.toml
@@ -845,6 +845,10 @@ asr = true
845
filename = "errors/test_pow4.py"
846
asr = true
847
848
+[[test]]
849
+filename = "errors/test_operator_01.py"
850
+asr = true
851
852
[[test]]
853
filename = "errors/test_ord.py"
854
0 commit comments