jw
03/13/2019, 3:05 AMsitepodmatt
03/13/2019, 3:06 AMjw
03/13/2019, 3:06 AMfoo.bar
a bound reference to the property Foo.bar
on instance foo
or an invocation of the getter of the bar
property on the foo
instance? The syntax is ambiguous.gildor
03/13/2019, 3:07 AMclass Foo {
val bar: String = ""
fun bar() = ""
}
Foo().bar // ???
sitepodmatt
03/13/2019, 3:11 AMgildor
03/13/2019, 3:12 AMsitepodmatt
03/13/2019, 3:13 AMgildor
03/13/2019, 3:15 AMsitepodmatt
03/13/2019, 3:17 AMgildor
03/13/2019, 3:19 AM