File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 22 "basename" : " asr-bindc_10e-8b10394" ,
33 "cmd" : " lpython --show-asr --no-color {infile} -o {outfile}" ,
44 "infile" : " tests/errors/bindc_10e.py" ,
5- "infile_hash" : " 36d1b5d366716d6a601db544fe8ff32aba76518181e71a98a4e6500c " ,
5+ "infile_hash" : " fa023d4ad17e426f778a99326998e6dbeac5428fa252974a39a3219d " ,
66 "outfile" : null ,
77 "outfile_hash" : null ,
88 "stdout" : null ,
99 "stdout_hash" : null ,
1010 "stderr" : " asr-bindc_10e-8b10394.stderr" ,
11- "stderr_hash" : " 7686dd8c9b718548d301e28d39cd15a85b00030172c5658b38a75af5 " ,
11+ "stderr_hash" : " 9ea4ff2c8a8789057456196deb5772e4b3a2dffadbd10ecfe5f15f29 " ,
1212 "returncode" : 2
1313}
Original file line number Diff line number Diff line change 11semantic error: The struct in c_p_pointer must be C interoperable
2- --> tests/errors/bindc_10e.py:23 :38
2+ --> tests/errors/bindc_10e.py:15 :38
33 |
4- 23 | p2: Pointer[S] = c_p_pointer(p1, S)
4+ 15 | p2: Pointer[S] = c_p_pointer(p1, S)
55 | ^ not C interoperable
6+
7+ --> tests/errors/bindc_10e_mod.py:5:1 - 7:10
68 |
7- 15 | class S:
9+ 5 | class S:
810 | ~~~~~~~~...
911...
1012 |
11- 17 | b: i64
13+ 7 | b: i64
1214 | ...~~~~~~~~~~ help: add the @ccallable decorator to this struct to make it C interoperable
You can’t perform that action at this time.
0 commit comments