Some compiler expr evals report as wrong phase

Description

Some compiler expressions have an eval method that wraps exceptions in a CompilerException for line/col reporting. In the error reporting changes in 1.10 these weren't updated and they are reporting with the default exception phase, :compiler-syntax-error, rather than as an :execution error.

Examples that report as syntax errors but are happening during evaluation:

Example that shouldn't change (is actually a syntax error that should flow through):

Approach: Patch changes the reported phase to :execution in all of those cases.

After:

Patch: clj-2499.patch

Environment

None
Completed

Assignee

Unassigned

Reporter

Alex Miller

Approval

Ok

Patch

Code

Fix versions

Affects versions

Priority

Major
Configure