We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1485867 commit 8a796c8Copy full SHA for 8a796c8
lib/parser/ruby-next/parser_ext.rb
@@ -9,6 +9,15 @@
9
require_relative "builder"
10
require_relative "ast/processor"
11
12
+require "parser/context"
13
+unless Parser::Context::FLAGS.include?(:cant_return)
14
+ Parser::Context::FLAGS << :cant_return
15
+
16
+ class Parser::Context
17
+ attr_accessor :cant_return
18
+ end
19
+end
20
21
module Parser
22
# Patch the base parser class to use custom builder and lexer
23
module NextExt
lib/parser/ruby-next/version.rb
@@ -1,5 +1,5 @@
1
# frozen_string_literal: true
2
3
4
- NEXT_VERSION = "3.4.0.1"
+ NEXT_VERSION = "3.4.0.2"
5
end
0 commit comments