lib/prism/serialize.rb in prism-0.25.0 vs lib/prism/serialize.rb in prism-0.26.0

- old
+ new

@@ -16,11 +16,11 @@ # strings. MAJOR_VERSION = 0 # The minor version of prism that we are expecting to find in the serialized # strings. - MINOR_VERSION = 25 + MINOR_VERSION = 26 # The patch version of prism that we are expecting to find in the serialized # strings. PATCH_VERSION = 0 @@ -184,11 +184,10 @@ :conditional_while_predicate, :constant_path_colon_colon_constant, :def_endless, :def_endless_setter, :def_name, - :def_name_after_receiver, :def_params_term, :def_params_term_paren, :def_receiver, :def_receiver_term, :def_term, @@ -221,17 +220,26 @@ :expect_expression_after_splat, :expect_expression_after_splat_hash, :expect_expression_after_star, :expect_ident_req_parameter, :expect_lparen_req_parameter, + :expect_message, :expect_rbracket, :expect_rparen, :expect_rparen_after_multi, :expect_rparen_req_parameter, :expect_string_content, :expect_when_delimiter, :expression_bare_hash, + :expression_not_writable, + :expression_not_writable_encoding, + :expression_not_writable_false, + :expression_not_writable_file, + :expression_not_writable_line, + :expression_not_writable_nil, + :expression_not_writable_self, + :expression_not_writable_true, :float_parse, :for_collection, :for_in, :for_index, :for_term, @@ -359,10 +367,11 @@ :ternary_colon, :ternary_expression_false, :ternary_expression_true, :unary_receiver, :undef_argument, + :unexpected_block_argument, :unexpected_token_close_context, :unexpected_token_ignore, :until_term, :void_expression, :while_term, @@ -392,10 +401,12 @@ :keyword_eol, :literal_in_condition_default, :literal_in_condition_verbose, :shebang_carriage_return, :unexpected_carriage_return, + :unreachable_statement, :unused_local_variable, + :void_statement, ].freeze private_constant :DIAGNOSTIC_TYPES def load_metadata