Commit 9f325e4
committed
Lazy-require set and tmpdir to avoid polluting Ruby 2.7 ancestors
Top-level require of 'set' and 'tmpdir' caused additional modules to
be loaded at startup, shifting the Integer ancestor count on Ruby 2.7
and breaking DAP protocol hover tests. Replace Set with plain Hash in
reconcile_breakpoints and lazy-require tmpdir in ensure_wk_lock!.1 parent bbf30bc commit 9f325e4
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
113 | 111 | | |
114 | 112 | | |
115 | 113 | | |
116 | | - | |
| 114 | + | |
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
120 | 118 | | |
121 | | - | |
| 119 | + | |
122 | 120 | | |
123 | 121 | | |
124 | 122 | | |
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
128 | | - | |
| 126 | + | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
| |||
2163 | 2161 | | |
2164 | 2162 | | |
2165 | 2163 | | |
| 2164 | + | |
2166 | 2165 | | |
2167 | 2166 | | |
2168 | 2167 | | |
| |||
0 commit comments