[Lazarus] 'with' is evil, isn't it?

leledumbo leledumbo_cool at yahoo.co.id
Thu Aug 4 00:17:14 CEST 2011


> I think a warning if the name inside of 'with' overrides a name from outer
scope would be an acceptable compromise.

I agree with this solution, it doesn't change the syntax, yet it gives
better chance to spot wrong scope of identifier which could happen during
porting or upgrade.

--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-with-is-evil-isn-t-it-tp3219144p3223700.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.




More information about the Lazarus mailing list