We're updating the issue view to help you get more done. 

ClojureScript Analyzer/Compiler should have extensible hooks to handle warnings

Description

To make the build process more configurable and stricter/less strict as needed by various projects, the cljs compiler should provide hooks that're invoked whenever a warning is emitted. Eventually these should be exposed through something like cljsbuild.

The attached patch changes the analyzer to emit warnings and emit dynamic warning handlers.

Note sure where the test for this could go though, it doesn't look like there's any infrastructure for the clj side.

Environment

None

Status

Assignee

Unassigned

Reporter

Sean Grove

Labels

Approval

None

Patch

Code

Priority

Minor