summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2025-01-05 21:42:23 -0500
committerKevin Newton <kddnewton@gmail.com>2025-01-07 22:30:16 -0500
commit1a06bee027d5c5b65ed0aaee76ee0040554d4efd (patch)
treef0b0483c3c3d583aaa09afbad36283479c95de66 /test
parent27c9ccb30e6f4af8f85bb837db00de5f5b6bbaae (diff)
Do not intern invalid symbols in eval parse
When the inner code cannot represent the name of the locals in the outer code, do not bother putting them into the constant pool as they will not be referenced. Fixes [Bug #20992] Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12514
Diffstat (limited to 'test')
-rw-r--r--test/.excludes/TestVariable.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/.excludes/TestVariable.rb b/test/.excludes/TestVariable.rb
deleted file mode 100644
index ecfbb0e3b8..0000000000
--- a/test/.excludes/TestVariable.rb
+++ /dev/null
@@ -1,3 +0,0 @@
-if RUBY_DESCRIPTION.include?("+PRISM")
- exclude(:test_local_variables_encoding, "[Bug #20992]")
-end