You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ruby (all families): =begin ... =end block comments leak into the code stream (auth_middleware, comprehensions, import, telemetry) #9435
SOP-002-v1 gap-cell decoy suite (epic #8863), Ruby batch.
Leak. A Ruby =begin ... =end block comment (markers in column 0, the language's block-comment form) is not removed from the code stream, so every keyword family counts a keyword inside it. Seen on auth_middleware, comprehensions, import, telemetry (and the existing baseline already records block_comment: leak for ruby api). The line-exclusive lexical family only strips #.
Snippet (expect 0, actual 1) for import:
=beginrequire 'json'=end
Same with =begin rdoc and with code after =end. Line comments (#, indented, trailing) pass. Ruby block comments do not nest, so no nesting case is needed. Pinned by strict xfail in tests/decoys/test_decoy_ruby.py.
Activity
tests/decoys: SOP-002 gap-cell decoy suites, batch E (ruby, lua, shel…