Skip to content

Commit b4d9c2d

Browse files
authored
Improve Compiler Exception metadata handling (#846)
Fixes #844 Fixes #845
1 parent e79a3c9 commit b4d9c2d

File tree

6 files changed

+271
-184
lines changed

6 files changed

+271
-184
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Added
9+
* Added filename metadata to compiler exceptions (#844)
10+
11+
### Fixed
12+
* Fix a bug where `basilisp.lang.compiler.exception.CompilerException` would nearly always suppress line information in it's `data` map (#845)
813

914
## [v0.1.0b1]
1015
### Added

src/basilisp/contrib/nrepl_server.lpy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
(let [{:keys [*1 *2 *3 *e eval-ns]} @client*
123123
out-stream (StreamOutFn #(send-fn request {"out" %}))
124124
reader (io/StringIO code)
125-
ctx (basilisp.lang.compiler.CompilerContext. (or file "nREPL input"))
125+
ctx (basilisp.lang.compiler.CompilerContext. (or file "<nREPL Input>"))
126126
eval-ns (if ns
127127
(create-ns (symbol ns))
128128
eval-ns)]

0 commit comments

Comments
 (0)