Commit 0da6cc2
committed
SymDB scope: restore wire-format-vs-Ruby-identifier comment
The Scope :targetable_lines comment at scope.rb:25 was rewritten in
#5717 in a way that lost the distinction between the Ruby identifier
(targetable_lines) and the wire-format key (has_injectible_lines).
The same file at lines 83-88 still serializes with the historical
+injectible+ spelling for backend compatibility, so the line-25
comment contradicted the actual implementation in the same file.
Restore the original comment so the wire-format key name is
documented next to the Struct member it describes. Also rename the
scope_spec.rb test description that propagated the same wrong wording
("includes targetable_lines?: false") to match what the test body
actually asserts ("emits has_injectible_lines: false").1 parent 87c5373 commit 0da6cc2
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
0 commit comments