mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Revert "Make constant assignments more conforming to JIS X 3017:2013 11.4.2.2.3"
This reverts commit 44caca11cf
.
The change caused a build failure.
http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/2102153
This commit is contained in:
parent
11f8c89171
commit
1ff26dc4c7
2 changed files with 8 additions and 21 deletions
|
@ -69,12 +69,4 @@ PRE
|
|||
def test_toplevel_lookup
|
||||
assert_raise(NameError, '[Feature #11547]') {TestConst::Object}
|
||||
end
|
||||
|
||||
def test_evaluation_order
|
||||
assert_raise_with_message(RuntimeError, "recv", 'JIS X 3017:2013 11.4.2.2.3') {
|
||||
eval <<~EOS
|
||||
raise('recv')::C = raise('value')
|
||||
EOS
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue