File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11REM Error: circular dependency
22
3- DIM x at @x
3+ DIM x as Ubyte at @x
44
Original file line number Diff line number Diff line change 11
2- DIM a at @b + 1
3- DIM b at @c
4- DIM c at @a
2+ DIM a as Ubyte at @b + 1
3+ DIM b as Ubyte at @c
4+ DIM c as Ubyte at @a
Original file line number Diff line number Diff line change 1+ REM circular dependency. Not compilable
2+
3+ DIM a as Ubyte at @b + 1
4+ DIM b as Ubyte at @c + 1
5+ DIM c as Ubyte at @a + 1
16
2- DIM a at @b + 1
3- DIM b at @c
4- DIM c at @a
Original file line number Diff line number Diff line change @@ -148,3 +148,14 @@ pararray4.bas:8: error: Array q type does not match parameter type
148148>>> process_file('array_check_warn.bas')
149149array_check_warn.bas:3: warning: Array 'aux' subscript out of range
150150array_check_warn.bas:6: warning: Array 'aux1' subscript out of range
151+ >>> process_file('dim_at_label5.bas')
152+ dim_at_label5.bas:3: error: Circular dependency between 'x' and 'x'
153+ >>> process_file('dim_at_label6.bas')
154+ dim_at_label6.bas:2: error: Circular dependency between 'b' and 'a'
155+ dim_at_label6.bas:2: error: Circular dependency between 'a' and 'c'
156+ dim_at_label6.bas:3: error: Circular dependency between 'c' and 'b'
157+ >>> process_file('dim_at_label7.bas')
158+ dim_at_label7.bas:3: error: Circular dependency between 'b' and 'a'
159+ dim_at_label7.bas:3: error: Circular dependency between 'a' and 'c'
160+ dim_at_label7.bas:4: error: Circular dependency between 'c' and 'b'
161+
You can’t perform that action at this time.
0 commit comments