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
I upgraded rubocop from 1.32.0 to 1.44.1 and then I started to see the error below.
An error occurred while Layout/ClosingParenthesisIndentation cop was inspecting /Users/simon/dev/work/dodo/fakturabank/repo/db/migrate/20150216145541_fix_signs_for_invoices_in_rec_lin_and_rec_lin_reas.rb:3:27.
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.
https://github.com/rubocop/rubocop/issues
Mention the following information in the issue report:
1.45.1 (using Parser 3.2.1.0, rubocop-ast 1.24.1, running on ruby 3.2.1) [x86_64-darwin20]
#<RegexpError: too big number for repeat range: /^\s{202433}\S/>
["/.../rubocop-1.45.1/lib/rubocop/cop/util.rb:96:in `block in <module:Util>'",
"/.../rubocop-1.45.1/lib/rubocop/cop/util.rb:101:in `begins_its_line?'",
"/.../rubocop-1.45.1/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb:123:in `check_for_elements'",
"/.../rubocop-1.45.1/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb:115:in `check'",
"/.../rubocop-1.45.1/lib/rubocop/cop/layout/closing_parenthesis_indentation.rb:80:in `on_send'",
I could also see that we have one unreasonable long link 200k line... Do you want the file?
Expected behavior
rubocop should continue to work
Actual behavior
rubocop breaks
Steps to reproduce the problem
run rubocop over a file which has one function call with prentices (but the string need to be longer, it fails when it is 203 000 long I know)
ReconciliationLine.where("parent_type = 'Invoice' and parent_id in (84,83) and amount_with_reasons = 0")
I upgraded rubocop from 1.32.0 to 1.44.1 and then I started to see the error below.
After after a little diffing I found out that the actual error is
#<RegexpError: too big number for repeat range: /^\s{202433}\S/>
. This used to work but I think this commit 2dc325c#diff-fd0332e5689d0ab642df39f706a915663f5d8764d4fa4442d36a291b16de70fb changes to lib/rubocop/cop/util.rb make it fakeI could also see that we have one unreasonable long link 200k line... Do you want the file?
Expected behavior
rubocop should continue to work
Actual behavior
rubocop breaks
Steps to reproduce the problem
run rubocop over a file which has one function call with prentices (but the string need to be longer, it fails when it is 203 000 long I know)
RuboCop version
The text was updated successfully, but these errors were encountered: