Hi,

I have a package names like "event" or "model". If I try to use a var that
match the package name a error like this shows up:

/Users/carlosrovira/dev/apacheflex/flex-asjs/examples/TodoListSampleApp/src/controller/TodoListController.as:37
Warning: Definition name is the same as an imported package name.
Unqualified references to that name will resolve to the package and not the
definition.
public var model:TodoListModel = null;

or:

/Users/carlosrovira/dev/apacheflex/flex-asjs/examples/TodoListSampleApp/src/controller/TodoListController.as:59
Error: Access of undefined property todo in package event.

I'll fill a bug as soon as the jira comes back to life

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to