Skip to content

Commit 2ab7d7a

Browse files
authored
Fix ns macro metadata regression (#1175)
Fixes #1173
1 parent 2dffcc0 commit 2ab7d7a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Changed
1010
* `alter-var-root` now returns the new value to align with Clojure behavior. Updated the docstring to highlight side effects of direct linking optimization (#1166)
1111

12+
### Fixed
13+
* Fix a regression introduced in #1161 which prevented passing namespace metadata on the name in the `ns` macro (#1173)
14+
1215
## [v0.3.4]
1316
### Added
1417
* Added support for the optional `attr-map?` on the `ns` macro (#1159)

src/basilisp/core.lpy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5291,6 +5291,7 @@
52915291
(first opts))
52925292
metadata (merge (->> (meta name)
52935293
(remove #(= (namespace (key %)) "basilisp.lang.reader"))
5294+
(mapcat identity)
52945295
(apply hash-map))
52955296
{:doc doc}
52965297
attr-map)

0 commit comments

Comments
 (0)