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 at 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 at 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.

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created May 17, 2015 at 9:49 PM
Updated June 27, 2017 at 4:15 PM