Created
September 16, 2021 14:25
-
-
Save ykpythemind/89be3a647757bce169c35dcd43e88163 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RBS::Parser::SyntaxError: parse error on value: #<RBS::Parser::LocatedValue:0x00000040171552a0 @location=#<RBS::Location:97040 @buffer=, @pos=6474...6478, source='type', start_line=151, start_column=34>, @value=:type> (kTYPE) | |
parser.y:1757:in `on_error' | |
(eval):3:in `_racc_do_parse_c' | |
(eval):3:in `do_parse' | |
parser.y:1458:in `parse_signature' | |
/bundle/ruby/2.7.0/gems/rbs_rails-0.8.2/lib/rbs_rails/util.rb:19:in `format_rbs' | |
/bundle/ruby/2.7.0/gems/rbs_rails-0.8.2/lib/rbs_rails/active_record.rb:25:in `generate' | |
/bundle/ruby/2.7.0/gems/rbs_rails-0.8.2/lib/rbs_rails/active_record.rb:11:in `class_to_rbs' | |
/bundle/ruby/2.7.0/gems/rbs_rails-0.8.2/lib/rbs_rails/rake_task.rb:45:in `block (2 levels) in def_generate_rbs_for_models' | |
/bundle/ruby/2.7.0/gems/rbs_rails-0.8.2/lib/rbs_rails/rake_task.rb:38:in `each' | |
/bundle/ruby/2.7.0/gems/rbs_rails-0.8.2/lib/rbs_rails/rake_task.rb:38:in `block in def_generate_rbs_for_models' | |
/bundle/ruby/2.7.0/gems/railties-6.0.4.1/lib/rails/commands/rake/rake_command.rb:23:in `block in perform' | |
/bundle/ruby/2.7.0/gems/railties-6.0.4.1/lib/rails/commands/rake/rake_command.rb:20:in `perform' | |
/bundle/ruby/2.7.0/gems/railties-6.0.4.1/lib/rails/command.rb:48:in `invoke' | |
/bundle/ruby/2.7.0/gems/railties-6.0.4.1/lib/rails/commands.rb:18:in `<main>' | |
/bundle/ruby/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' | |
/bundle/ruby/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' | |
/bundle/ruby/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' | |
/bundle/ruby/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' | |
/bundle/ruby/2.7.0/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' | |
/bundle/ruby/2.7.0/gems/activesupport-6.0.4.1/lib/active_support/dependencies.rb:324:in `block in require' | |
/bundle/ruby/2.7.0/gems/activesupport-6.0.4.1/lib/active_support/dependencies.rb:291:in `load_dependency' | |
/bundle/ruby/2.7.0/gems/activesupport-6.0.4.1/lib/active_support/dependencies.rb:324:in `require' | |
bin/rails:4:in `<main>' | |
Tasks: TOP => rbs_rails:all => rbs_rails:generate_rbs_for_models | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment