Commit 6e7541b
CLJS-1422: cljs.js/eval-str fails for ns form on node.js with simple optimizations
The special case of find-ns-obj for node.js under optimizations now
guards the eval of the initial path segment, catching ReferenceError.
This fixes eval-str of ns forms.1 parent e8330a2 commit 6e7541b
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10135 | 10135 | | |
10136 | 10136 | | |
10137 | 10137 | | |
10138 | | - | |
| 10138 | + | |
| 10139 | + | |
| 10140 | + | |
| 10141 | + | |
| 10142 | + | |
| 10143 | + | |
| 10144 | + | |
| 10145 | + | |
| 10146 | + | |
| 10147 | + | |
10139 | 10148 | | |
10140 | 10149 | | |
10141 | 10150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments