class Test def main is shared i = 5 assert i is 5 # .warning. value types assert i is not 6 # .warning. value types def identityOperatorWarnings a = 'foo' b = 'bar' if a is 'foo', .noOp # .warning. Do not use the identity operator if a is not 'foo', .noOp # .warning. Do not use the identity operator if a is 'foo' is b, .noOp # .warning. Do not use the identity operator def noOp pass