Completed
Details
Assignee
David NolenDavid NolenReporter
Juho TeperiJuho TeperiPriority
Minor
Details
Details
Assignee
David Nolen
David NolenReporter
Juho Teperi
Juho TeperiPriority
Created February 8, 2018 at 8:30 PM
Updated February 10, 2018 at 12:11 PM
Resolved February 10, 2018 at 12:11 PM
If Closure reports error, it is printed by
report-failure
, but ClojureScript will continue. This can (often will) result in broken output.This problem can happen with both Module Processing (some files not being processed, e.g. CommonJS code is present in output) and with optimization step. If optimization fails (Closure can't parse some files),
optimize
doesn't throw but returns nil, which is written to output-file.