mirror of
https://github.com/m-labs/artiq.git
synced 2025-02-07 08:05:22 +08:00
Fix b91822ff
.
This commit is contained in:
parent
98e61e4d4d
commit
da01a03a6e
@ -6,7 +6,7 @@ from artiq.experiment import *
|
||||
@kernel
|
||||
def entrypoint():
|
||||
a = [1,2]
|
||||
# CHECK-L: ${LINE:+2}: error: lists cannot be mutated in-place
|
||||
# CHECK-L: ${LINE:+2}: error: values cannot be mutated in-place
|
||||
# CHECK-L: ${LINE:+1}: note: try using `a = a + [3,4]`
|
||||
a += [3,4]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user