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()andAis a class with fieldB, it could ask "did you meanA.B```?)
I ran into this in trans, where I have frequently written bcx.ccx instead of bcx.ccx().
I forget if there's already a bug on this, but it would be nice if, when you wrote
A.BandAdoesn't have a field namedB, but does have a nullary method namedB, the compiler gave a hint like "did you mean to writeA.B()?" It could also do vice versa (if you write A.B()andAis a class with fieldB, it could ask "did you meanA.B```?)I ran into this in trans, where I have frequently written
bcx.ccxinstead ofbcx.ccx().