forked from M-Labs/artiq
Fix ca254ec5
.
This commit is contained in:
parent
ca254ec55e
commit
fd3a09dd4d
|
@ -6,7 +6,7 @@ from artiq.experiment import *
|
||||||
@kernel
|
@kernel
|
||||||
def entrypoint():
|
def entrypoint():
|
||||||
a = [1,2]
|
a = [1,2]
|
||||||
# CHECK-L: ${LINE:+2}: error: values cannot be mutated in-place
|
# CHECK-L: ${LINE:+2}: error: lists cannot be mutated in-place
|
||||||
# CHECK-L: ${LINE:+1}: note: try using `a = a + [3,4]`
|
# CHECK-L: ${LINE:+1}: note: try using `a = a + [3,4]`
|
||||||
a += [3,4]
|
a += [3,4]
|
||||||
|
|
Loading…
Reference in New Issue