Skip to content

Commit 1f53514

Browse files
committed
Add frozen_string_literal pragma to visitor.rb
Every other file in the project already has this pragma. visitor.rb was the only one missing it. standardrb intentionally excludes the frozen_string_literal cop (standardrb/standard#181) so the linter wouldn't flag this.
1 parent 3e203e1 commit 1f53514

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/syntax_suggest/visitor.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
module SyntaxSuggest
24
# Walks the Prism AST to extract structural info that cannot be reliably determined from tokens
35
# alone.

0 commit comments

Comments
 (0)