mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Tested register windows of OP_SENDs generated by NODE_{DXSTR,XSTR}; ref #3783
This commit is contained in:
@@ -165,6 +165,12 @@ assert('register window of calls (#3783)') do
|
||||
check_node_yield{}
|
||||
end
|
||||
|
||||
# NODE_DXSTR
|
||||
assert_raise(NotImplementedError){ `#{:dynamic}` }
|
||||
|
||||
# NODE_XSTR
|
||||
assert_raise(NotImplementedError){ `static` }
|
||||
|
||||
# NODE_UNDEF
|
||||
assert_nothing_raised do
|
||||
class << Object.new
|
||||
|
||||
Reference in New Issue
Block a user