Direct-linking changes lose line-number on invoke()

Description

Stack Trace comparison. Only the first two lines of each trace are relevant, the rest is all REPL fluff.

Cause: Non-direct linking now calls from invoke() through to invokeStatic(). In invoke(), Compiler does not visitLineNumber() before invoke() calls invokeStatic(), meaning that stack traces end up with -1 instead of a useful line number.

Patch: CLJ-1854-more-context.patch

Screened by: Alex Miller

Environment

Clojure 1.8RC2, leiningen 2.5.1

Status

Assignee

Unassigned

Reporter

Gary Trakhman

Labels

Approval

Ok

Patch

Code

Fix versions

Affects versions

Priority

Major
Configure