Closed
Description
I forget if there's already a bug on this, but it would be nice if, when you wrote A.B
and A
doesn't have a field named B
, but does have a nullary method named B
, the compiler gave a hint like "did you mean to write A.B()
?" It could also do vice versa (if you write A.B()and
Ais a class with field
B, it could ask "did you mean
A.B```?)
I ran into this in trans, where I have frequently written bcx.ccx
instead of bcx.ccx()
.