class Test def main is shared a = 23 + 1 assert a = 24 # .error. assert condition is an assignment CobraCore.noOp(a) i = 5 assert .change(10, out i) # .error. cannot have side effects assert [1, 2, i = 6].count # .error. cannot have side effects def change(x as int, y as out int) as int is shared y = x return x