Skip to content

Commit d754631

Browse files
committed
Clarify comment and remove TODO
The current version of the warning: ``` warning: parser/current is loading parser/ruby27, which recognizes2.7.6-compliant syntax, but you are running 2.7.5. Please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. ``` So I removed the TODO comment because it's outdated. But I left the actual exclusion in because it will be a recurring issue from time to time.
1 parent 82fcef4 commit d754631

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

common/spec/warning_monkey_patch.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# frozen_string_literal: true
22

33
ALLOW_PATTERNS = [
4-
# Ignore parser warnings for ruby 2.7 minor version mismatches
5-
# TODO: Fix these by upgrading to ruby 2.7.3 (requires ubuntu upgrade)
4+
# Ignore parser warnings for ruby 2.7 minor version mismatches.
5+
# This is a recurring issue that occurs whenever the parser gets
6+
# ahead of our installed ruby version.
67
%r{parser/current is loading parser/ruby27},
78
/2.7.\d-compliant syntax, but you are running 2.7.\d/,
89
%r{whitequark/parser}

0 commit comments

Comments
 (0)