Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2015
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. Error in ./src/cltk/lexers/ebnf.cr:28: instantiating 'Regex:Class#new(String, Regex::Options)'
  2. rule(/\*/) { :STAR }
  3. ^
  4. instantiating 'Regex#initialize(String, Regex::Options)'
  5. in /opt/crystal/src/regex/regex.cr:224: instantiating 'String#gsub(Char, String)'
  6. source = source.gsub('\u{0}', "\\0")
  7. ^~~~
  8. in /opt/crystal/src/string.cr:1153: instantiating 'includes?(Char)'
  9. if includes?(char)
  10. ^~~~~~~~~
  11. in /opt/crystal/src/string.cr:1715: instantiating 'index(Char)'
  12. !!index(search)
  13. ^~~~~
  14. instantiating 'index(Char, Int32)'
  15. in /opt/crystal/src/string.cr:1589: instantiating 'each_char_with_index()'
  16. each_char_with_index do |char, i|
  17. ^~~~~~~~~~~~~~~~~~~~
  18. in /opt/crystal/src/string.cr:2327: instantiating 'each_char()'
  19. each_char do |char|
  20. ^~~~~~~~~
  21. in /opt/crystal/src/string.cr:2298: instantiating 'Char::Reader:Class#new(String)'
  22. Char::Reader.new(self).each do |char|
  23. ^~~
  24. instantiating 'Char::Reader#initialize(String)'
  25. in /opt/crystal/src/char/reader.cr:27: instantiating 'decode_current_char()'
  26.  
  27. decode_current_char
  28. ^~~~~~~~~~~~~~~~~~~
  29.  
  30. in /opt/crystal/src/char/reader.cr:133: instantiating 'decode_char_at(Int32)'
  31.  
  32. decode_char_at(@pos) do |code_point, width|
  33. ^~~~~~~~~~~~~~
  34.  
  35. in /opt/crystal/src/char/reader.cr:83: instantiating 'invalid_byte_sequence()'
  36.  
  37. invalid_byte_sequence
  38. ^~~~~~~~~~~~~~~~~~~~~
  39.  
  40. in /opt/crystal/src/char/reader.cr:129: instantiating 'InvalidByteSequenceError:Class#new()'
  41.  
  42. raise InvalidByteSequenceError.new
  43. ^~~
  44.  
  45. instantiating 'new(String)'
  46.  
  47. instantiating 'InvalidByteSequenceError#initialize(String)'
  48.  
  49. in /opt/crystal/src/exception.cr:165: instantiating 'super(String)'
  50.  
  51. super(message)
  52. ^~~~~
  53.  
  54. in /opt/crystal/src/exception.cr:97: undefined method 'printable_backtrace' for Nil (compile-time type is (Nil | CallStack))
  55.  
  56. @callstack.printable_backtrace
  57. ^~~~~~~~~~~~~~~~~~~
  58.  
  59. ================================================================================
  60.  
  61. Error: instance variable '@callstack' of KeyError was not initialized in all of the 'initialize' methods, rendering '@callstack' of InvalidByteSequenceError nilable (Exception is the common supertype that defines it)
  62.  
  63. Specifically in these ones:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement