blob: 2eace177677ec890d85949f8d18e0f14605cb558 [file] [log] [blame]
class Foo {
final def <selection>foo</selection> = 2+2
def a() {
print foo.intValue()
print getFoo()
}
}
print new Foo().foo
print new Foo().getFoo()
-----
class Foo {
def a() {
print((2+2).intValue())
print 2+2
}
}
print 2+2
print 2+2