diff options
author | Kevin Newton <[email protected]> | 2024-03-06 14:49:25 -0500 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-03-06 21:42:54 -0500 |
commit | d266b714672734a9604f19c55d291d12c20718a3 () | |
tree | f133e74cd64d5e13d667c41236fd5f52b0ee573c /lib/prism/parse_result.rb | |
parent | 48ca2ce5fc6a7ed8f8fd0e5ead40c160369e2a4c (diff) |
[ruby/prism] Use the diagnostic types in the parser translation layer
https://.com/ruby/prism/commit/1a8a0063dc
-rw-r--r-- | lib/prism/parse_result.rb | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -366,7 +366,8 @@ module Prism # This represents an error that was encountered during parsing. class ParseError - # The type of error. attr_reader :type # The message associated with this error. @@ -399,7 +400,8 @@ module Prism # This represents a warning that was encountered during parsing. class ParseWarning - # The type of warning. attr_reader :type # The message associated with this warning. |