2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00
This commit is contained in:
whitequark 2017-10-03 05:49:50 +00:00
parent ca254ec55e
commit fd3a09dd4d

View File

@ -6,7 +6,7 @@ from artiq.experiment import *
@kernel
def entrypoint():
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]`
a += [3,4]