Naked dot - accessing object fields through unqualified "." [C1]

Reinier Zwitserloot reinier at zwitserloot.com
Tue Mar 31 08:19:42 PDT 2009


On Mar 31, 2009, at 15:31, Marek Kozieł wrote:
>          public Root(Bar right, Bar left) {
>               this.left = left// left is set here
>               .right = right;
>          }
>
>     }
>

Heh. Nice find. You're absolutely right. naked dot is not practical,  
for any proposal. (At least, if naked dot is used a an expression. It  
might be okay in the paramlist or return type of a method declaration).

  -- Reinier Zwitserloot




More information about the coin-dev mailing list