You are attempting to access an undefined variable in a package. For example, if the variable p.huh
has not been defined, a call to it generates this error:
p.huh = 55;
This error can only appear when the compiler is running in strict mode.
You are attempting to access an undefined variable in a package. For example, if the variable p.huh
has not been defined, a call to it generates this error:
p.huh = 55;
This error can only appear when the compiler is running in strict mode.
Learning till death 🙂
LikeLike
… or look to your package name. It may be that your package name conflicts with some other package that’s either a built-in or otherwise. In my case I had a package “actor”. A class inside that package defined a public function, but I kept getting this error. Changing the package name arbitrarily (eg: “actorx”) suddenly made the problem disappear.
LikeLike