Skip to content

Commit 9f442e6

Browse files
committed
Disable :const_missing parser option by default
This can be re-enabled for development mode.
1 parent 99572c4 commit 9f442e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/opal/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def parse(source, options = {})
8888
@source_file = options[:source_file] || @file
8989
@method_missing = (options[:method_missing] != false)
9090
@arity_check = options[:arity_check]
91-
@const_missing = (options[:const_missing] != false)
91+
@const_missing = (options[:const_missing] == true)
9292
@irb_vars = (options[:irb] == true)
9393

9494
@method_calls = {}

0 commit comments

Comments
 (0)