Skip to content

Commit c3a370e

Browse files
committed
WIP: this almost works
It imports the builtin module and puts the "ord" as an external symbol and calls it. But currently it fails verify. To test: lpython --show-asr integration_tests/test_builtin.py
1 parent 75489c9 commit c3a370e

File tree

3 files changed

+433
-376
lines changed

3 files changed

+433
-376
lines changed

integration_tests/test_builtin.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ def test_ord():
88
print(i)
99

1010

11-
def test_chr():
12-
i: i32
13-
i = 48
14-
s: str
15-
s = chr(i)
16-
print(s)
11+
#def test_chr():
12+
# i: i32
13+
# i = 48
14+
# s: str
15+
# s = chr(i)
16+
# print(s)
1717

1818

1919
test_ord()
20-
test_chr()
20+
#test_chr()

0 commit comments

Comments
 (0)