Missing warning when assigning namespaces via def

Description

Currently you can assign a Closure namespace to a var without getting a warning.

Minimal sample:

Environment

None

Activity

Show:
David Nolen
May 30, 2015, 4:30 AM

The example case is a bit complected. Besides importing a name that matches a def you are also assigning a google closure namespace to a local. This will likely cause problems on its own. We need more information.

Sebastian Bensusan
May 30, 2015, 4:46 AM

We should check that :require ed and :import ed namespaces are not used as values and then warn about it.

Assignee

Unassigned

Reporter

Sebastian Bensusan

Labels

None

Approval

None

Patch

None

Fix versions

Affects versions

Priority

Minor