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:
Sebastian Bensusan
May 29, 2015, 6:46 PM

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

David Nolen
May 29, 2015, 6:30 PM

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.

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Sebastian Bensusan