File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### New Features
6
6
7
+ ### Changes
8
+
9
+ ### Bugs fixed
10
+
11
+ - Fix functions with docstrings evaluated via the shadow repl not compiling
12
+
13
+ ## 1.11.132-7 (12-12-2024)
14
+
15
+ ### New Features
16
+
7
17
### Changes
8
18
9
19
- Add debugger and bookmark macros for FlowStorm ergonomics
Original file line number Diff line number Diff line change 895
895
(-> next-line
896
896
(string/replace #"^ " " " )
897
897
(string/replace " */" " * /" ))))))]
898
- (when (seq docs)
898
+ (when (and (seq docs)
899
+ ; ; when we are in a shadow repl context we don't want to emit function docs
900
+ ; ; comments because of the hacky wrapping we are doing.
901
+ ; ; This shouldn't have any downsides, just don't emit docstring commets
902
+ ; ; on functions evaluated from the shadow repl
903
+ (not (:shadow.build.compiler/repl-context env)))
899
904
(emitln " /**" )
900
905
(doseq [e docs]
901
906
(when e
You can’t perform that action at this time.
0 commit comments