public final class test {
public final String getValue() {
return "";
}
}
class t1() {
fun getValue():String
{
return ""
}
}
正确
var t = test().value
错误
var t = t1().value
为什么kotlin类语法糖错误,而java类语法糖正确?