ClojureScript

ClojureScript Analyzer/Compiler should have extensible hooks to handle warnings

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code

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.

Activity

Sean Grove made changes -
Field Original Value New Value
Attachment cljs-warning-middlewares.patch [ 12403 ]
Sean Grove made changes -
Attachment cljs-warning-middlewares-2.patch [ 12405 ]
Attachment cljs-warning-middlewares-2.patch [ 12404 ]
Sean Grove made changes -
Attachment cljs-warning-middlewares.patch [ 12403 ]
Sean Grove made changes -
Attachment cljs-warning-middlewares-2.patch [ 12405 ]
Sean Grove made changes -
Attachment cljs_warning_handlers_in_analyzer.patch [ 12391 ]
Sean Grove made changes -
Attachment cljs-warning-middlewares-2.patch [ 12404 ]
Sean Grove made changes -
Attachment cljs-warning-middlewares.patch [ 12406 ]
Sean Grove made changes -
Attachment cljs-warning-middlewares.patch [ 12406 ]
Sean Grove made changes -
Attachment cljs-warning-middlewares.patch [ 12407 ]
Sean Grove made changes -
Attachment cljs-warning-middlewares.patch [ 12407 ]
Sean Grove made changes -
Attachment cljs-warning-middleware.patch [ 12422 ]
Sean Grove made changes -
Attachment cljs-warning-middleware.patch [ 12422 ]
Sean Grove made changes -
Attachment cljs-warning-middleware.patch [ 12423 ]
David Nolen made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: