ArthurZ

Invoke fir error

Jan 23rd, 2018
140
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/repl_state.rb:6:in `require_relative': /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:191: syntax error, unexpected '.' (SyntaxError)
  2.      !(OPTIONAL_DO_TOKENS.include?(stack.last&.word) &&
  3.                                                ^
  4. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:192: syntax error, unexpected '.'
  5.        (token.position.y == stack.last&.position&.y))
  6.                                         ^
  7. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:197: syntax error, unexpected '.'
  8.      stack.last&.word != 'when'
  9.                  ^
  10. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:202: syntax error, unexpected '.'
  11.      return false unless stack.last&.word == 'when'
  12.                                      ^
  13. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:208: syntax error, unexpected '.'
  14.      return false unless stack.last&.word == 'when'
  15.                                      ^
  16. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:214: syntax error, unexpected '.'
  17.      return false unless stack.last&.word == 'if'
  18.                                      ^
  19. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:224: dynamic constant assignment
  20.    Token = Struct.new(:word, :position)
  21.           ^
  22. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:225: dynamic constant assignment
  23.    Position = Struct.new(:x, :y)
  24.              ^
  25. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:226: dynamic constant assignment
  26.    IndentBlock = Struct.new(:indents, :executable?)
  27.                 ^
  28. /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/indent.rb:228: syntax error, unexpected end-of-input, expecting keyword_end
  29.        from /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir/repl_state.rb:6:in `<top (required)>'
  30.        from /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir.rb:8:in `require_relative'
  31.         from /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/lib/fir.rb:8:in `<top (required)>'
  32.        from /home/vagrant/.rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  33.        from /home/vagrant/.rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  34.         from /home/vagrant/.rvm/gems/ruby-2.1.5/gems/fir-repl-0.1.1/bin/fir:5:in `<top (required)>'
  35.        from /home/vagrant/.rvm/gems/ruby-2.1.5/bin/fir:23:in `load'
  36.        from /home/vagrant/.rvm/gems/ruby-2.1.5/bin/fir:23:in `<main>'
  37.         from /home/vagrant/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
  38.        from /home/vagrant/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
RAW Paste Data