var id : String
id :=
// gets desugared to
// getTemplate().getUniqueId() :=

Results in compile error.

Submitted by Elmer van Chastelet on 29 July 2015 at 15:31

On 29 July 2015 at 15:33 Elmer van Chastelet commented:

I have 49 matches on var id in my workspace. So I much prefer to not desugar the lhs and still allow id as variable name.
edit: That won’t work, because references are still desugared, while these should refer to the variabel id when exists.

On 31 July 2015 at 11:55 Elmer van Chastelet closed this issue.

Log in to post comments