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:
Yusuke Endoh 2019-06-16 23:00:05 +09:00
parent 11f8c89171
commit 1ff26dc4c7
2 changed files with 8 additions and 21 deletions

View file

@ -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