Skip to content

Commit 5e75fa1

Browse files
committed
Update references
1 parent 38f6498 commit 5e75fa1

File tree

126 files changed

+985
-358
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+985
-358
lines changed

tests/reference/asr-array_01_decl-39cf894.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
"infile_hash": "3dff59bab7475d254ce0470065c11e797e52a5b2a3d7546acc0e6705",
66
"outfile": null,
77
"outfile_hash": null,
8-
"stdout": "asr-array_01_decl-39cf894.stdout",
9-
<<<<<<< HEAD
10-
"stdout_hash": "ee0a4d84951f6650a05acb092400a9f68bf7141cd2539099696c0379",
11-
=======
12-
"stdout_hash": "24b1d1f4774489a87a82c51c4f4a797ca363f7efdb011e42936fc6b9",
13-
>>>>>>> 665badeb7 (TEST: Update reference tests)
14-
"stderr": null,
15-
"stderr_hash": null,
16-
"returncode": 0
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "asr-array_01_decl-39cf894.stderr",
11+
"stderr_hash": "5155e10cd4958bdda66178e2ed1b6faed6f415ff1cf3ff78e45f9cbb",
12+
"returncode": 2
1713
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/../integration_tests/array_01_decl.py:2:1
3+
|
4+
2 | from numpy import empty, int16, int32, int64, float32, float64, complex64, complex128
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-array_02_decl-e8f6874.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"infile_hash": "9a398864499c7a3b4e2a480faf3a5dccaa65f9771a8de27f55f11ca4",
66
"outfile": null,
77
"outfile_hash": null,
8-
"stdout": "asr-array_02_decl-e8f6874.stdout",
9-
"stdout_hash": "a442d1685188ae1ac93a98e1c9d15aa8c9eb53cf7ef9d926911d941c",
10-
"stderr": null,
11-
"stderr_hash": null,
12-
"returncode": 0
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "asr-array_02_decl-e8f6874.stderr",
11+
"stderr_hash": "b9fd331511456947bef74d5df2f292244e7fa1861ab43918a6e02acd",
12+
"returncode": 2
1313
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/../integration_tests/array_02_decl.py:2:1
3+
|
4+
2 | from numpy import empty, int32, int64, float32, float64, complex64, complex128
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_01-a617b64.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_01-a617b64.stderr",
11-
"stderr_hash": "b8317c7306f747ceefa8557c06f2a0b4a8a4bd7ae805bb494fca6ef2",
11+
"stderr_hash": "ddb2640e06012a8ab9efe1bc1dbe130321fb96721ce3fd749813c988",
1212
"returncode": 2
1313
}
Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1-
semantic error: Type mismatch in procedure call; the types must be compatible
2-
--> tests/errors/arrays_01.py:15:9
3-
|
4-
15 | [i8(214), i8(157), i8(3), i8(146)])
5-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type mismatch (passed argument type is list[i8] but required type is i8[4])
6-
|
7-
9 | a : i8[4] = empty(4, dtype=int8)
8-
| ^^^^^ type mismatch (passed argument type is list[i8] but required type is i8[4])
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_01.py:2:1
3+
|
4+
2 | from numpy import empty, int8
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_02-da94458.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_02-da94458.stderr",
11-
"stderr_hash": "dc0e5be7cd6de7395421aedf1ce11977206f3e35bb7cba271aed8992",
11+
"stderr_hash": "b7b907310495016dfb487fccb13739865174dda44541ade08931bae9",
1212
"returncode": 2
1313
}
Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
semantic error: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
2-
--> tests/errors/arrays_02.py:28:8
3-
|
4-
28 | assert r1.a == t1.a
5-
| ^^^^^^^^^^^^
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_02.py:2:1
3+
|
4+
2 | from numpy import (empty, int8)
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_03-de2e952.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_03-de2e952.stderr",
11-
"stderr_hash": "4c932f31bbb10c9ba8d8d75be226ba9c33553be3bcb367c8112e31af",
11+
"stderr_hash": "ddfa8ceea3cb39c9b59069d2a67d13c8752ec2511fc62c162e77b206",
1212
"returncode": 2
1313
}
Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
semantic error: Type mismatch in annotation-assignment, the types must be compatible
2-
--> tests/errors/arrays_03.py:6:5
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_03.py:2:1
33
|
4-
6 | x: i16[4] = empty([5], dtype=int16)
5-
| ^ ^^^^^^^^^^^^^^^^^^^^^^^ type mismatch ('i16[4]' and 'i16[5]')
4+
2 | from numpy import empty, int16
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_04-880407c.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_04-880407c.stderr",
11-
"stderr_hash": "10ef155b0236096d5de8157e38b3989d99343b016a8153b68a36aa54",
11+
"stderr_hash": "ee2a3d13e91567e2924e0154d6c09db79923debe4c2733b246964808",
1212
"returncode": 2
1313
}
Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
semantic error: Type mismatch in annotation-assignment, the types must be compatible
2-
--> tests/errors/arrays_04.py:6:5
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_04.py:2:1
33
|
4-
6 | x: i16[5] = empty([5], dtype=int32)
5-
| ^ ^^^^^^^^^^^^^^^^^^^^^^^ type mismatch ('i16[5]' and 'i32[5]')
4+
2 | from numpy import empty, int32
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_05-ec8fbd5.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_05-ec8fbd5.stderr",
11-
"stderr_hash": "4e5d42a186b8d82b484ec66ccc5a3b90da7e4be8a32bac26ea906198",
11+
"stderr_hash": "066b86f582348bb519b6a39a7e7421ac5a666b29d9ef96d753be0207",
1212
"returncode": 2
1313
}
Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
semantic error: Type mismatch in annotation-assignment, the types must be compatible
2-
--> tests/errors/arrays_05.py:6:5
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_05.py:2:1
33
|
4-
6 | x: i16[5, 4] = empty([5, 3], dtype=int16)
5-
| ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ type mismatch ('i16[5,4]' and 'i16[5,3]')
4+
2 | from numpy import empty, int16
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_06-fbb09a3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_06-fbb09a3.stderr",
11-
"stderr_hash": "1fa3f5061a72f03c0678806c0460b9ec5caf01cbbd2f07a606f1057e",
11+
"stderr_hash": "529c8dc2333a83b0b67feb5db104ea294258fdcac341dad9e314cfee",
1212
"returncode": 2
1313
}
Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
semantic error: Type mismatch in annotation-assignment, the types must be compatible
2-
--> tests/errors/arrays_06.py:6:5
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_06.py:2:1
33
|
4-
6 | x: i16[5, 4] = empty([5, 4], dtype=int32)
5-
| ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ type mismatch ('i16[5,4]' and 'i32[5,4]')
4+
2 | from numpy import empty, int32
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_07-de430fd.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_07-de430fd.stderr",
11-
"stderr_hash": "7fadea44b4ad8f383e0cadbd27a53eb3ab75f0edef98d27639527723",
11+
"stderr_hash": "78a96ca7fbcae19b8cdaa9f9a2d18de003d7569070edb855bd07bff6",
1212
"returncode": 2
1313
}
Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
semantic error: Type mismatch in annotation-assignment, the types must be compatible
2-
--> tests/errors/arrays_07.py:6:5
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_07.py:2:1
33
|
4-
6 | x: f32[5, 4] = empty([5, 4], dtype=complex64)
5-
| ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type mismatch ('f32[5,4]' and 'c32[5,4]')
4+
2 | from numpy import empty, complex64
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_08-ba317a3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_08-ba317a3.stderr",
11-
"stderr_hash": "bedb87b219b7c49a18cced170e4ffcac780d242f70c3ae8bbfb27a26",
11+
"stderr_hash": "2c0dffd29d0f996f1403e49241e6fe1cfbf7df0ce479e4434c3a7c6a",
1212
"returncode": 2
1313
}
Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
semantic error: Type mismatch in annotation-assignment, the types must be compatible
2-
--> tests/errors/arrays_08.py:9:5
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_08.py:2:1
33
|
4-
9 | x: i64[p, q, r] = empty([q, p, r], dtype=int64)
5-
| ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type mismatch ('i64[100,120,200]' and 'i64[120,100,200]')
4+
2 | from numpy import empty, int64
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_09-50ee586.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_09-50ee586.stderr",
11-
"stderr_hash": "30bfc87e70c4b4688cf7162eec34dce8e52c959539d20ad8b79cf845",
11+
"stderr_hash": "31ae490ebcebebc570a4846a32f1723dd3e9861f47c6805e9cc5e9b4",
1212
"returncode": 2
1313
}
Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
semantic error: Only those local variables which can be reduced to compile time constant should be used in dimensions of an array.
2-
--> tests/errors/arrays_09.py:9:12
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_09.py:2:1
33
|
4-
9 | x: i64[p, q, r] = empty([q, p, r], dtype=int64)
5-
| ^
4+
2 | from numpy import empty, int64
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_10-bc82d75.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_10-bc82d75.stderr",
11-
"stderr_hash": "59e8cc91d7dae61bf60ec4d9cd23d62cdcb162e553bd64a3995fad19",
11+
"stderr_hash": "12434839db5b4ef953cdf8002472348be5b31f95ed106f68c6646523",
1212
"returncode": 2
1313
}
Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
1-
semantic error: Only those local variables which can be reduced to compile time constant should be used in dimensions of an array.
2-
--> tests/errors/arrays_10.py:9:36
1+
warning: The module 'numpy' located in $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py cannot be loaded
2+
--> tests/errors/arrays_10.py:2:1
33
|
4-
9 | x: i64[100, 120, 200] = empty([q, p, r], dtype=int64)
5-
| ^
4+
2 | from numpy import empty, int64
5+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ imported here
6+
7+
warning: The module 'lpython_builtin' located in $DIR/src/bin/../runtime/lpython_builtin.py cannot be loaded
8+
--> $DIR/src/bin/../runtime/lpython_intrinsic_numpy.py:364:12
9+
|
10+
364 | return x1 % x2
11+
| ^^^^^^^ imported here
12+
13+
semantic error: The symbol '_lpython_floordiv' not found in the module 'lpython_builtin'
14+
--> $DIR/src/bin/../runtime/lpython_builtin.py:209:15
15+
|
16+
209 | if (n_ - (n_ // 2)*2) == 0:
17+
| ^^^^^^^

tests/reference/asr-arrays_11-fc505b4.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": null,
99
"stdout_hash": null,
1010
"stderr": "asr-arrays_11-fc505b4.stderr",
11-
"stderr_hash": "ef5e89392b20ad345ba9bcf862ab71b19e56c85d9838db742be117a1",
11+
"stderr_hash": "f5a3fde8bbd2fd083b1f1d2148c92c3ae71ef4aaaed74e725061cb94",
1212
"returncode": 2
1313
}

0 commit comments

Comments
 (0)