[Gambas-user] components automatically loading based on usage

Benoît Minisini gambas at ...1...
Tue Jul 23 10:21:16 CEST 2013


Le 23/07/2013 04:49, Kevin Fishburne a écrit :
> I just noticed that referencing a boolean variable "Match" now
> automatically loads the pcre component and tries to use it as a function
> (then obviously fails). This seems a dangerous precedent, as most GAMBAS
> users probably don't use most components and therefore shouldn't be
> constrained by their reserved keywords. Having any component
> automatically enable itself for any reason is also troubling, as it
> exposes the application to any vulnerabilities the component may possess
> without the knowledge of the developer.
>
> For the time being I'm just renaming my variable, but I was surprised to
> see this. Thoughts anyone?
>

How do you "reference your boolean variable" that the compiler thinks it 
is the "Match" operator?

-- 
Benoît Minisini




More information about the User mailing list