forked from M-Labs/artiq
1
0
Fork 0
This commit is contained in:
whitequark 2018-09-20 10:01:32 +00:00
parent 98e61e4d4d
commit da01a03a6e
1 changed files with 1 additions and 1 deletions

View File

@ -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: 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]` # CHECK-L: ${LINE:+1}: note: try using `a = a + [3,4]`
a += [3,4] a += [3,4]