reject `id` as variable name or don't desugar at lhs
var id : String ... id := ent.id // gets desugared to // getTemplate().getUniqueId() := ent.id
Results in compile error.Submitted by Elmer van Chastelet on 29 July 2015 at 15:31
I have 49 matches on
var idin my workspace. So I much prefer to not desugar the lhs and still allow
idas variable name.
edit: That won’t work, because references are still desugared, while these should refer to the variabel
Log in to post comments