diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-12-19 00:34:14 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-12-19 00:34:14 +0900 |
commit | 19a98a8791f99085aca11413a331811659c8b78c (patch) | |
tree | 317bbf71416997fb6f926f7e8466400839ad2a85 /test | |
parent | 6945597f6ff491a3f745b66017190715d1642563 (diff) |
Fixed not to make non-literal expression shareable [Feature #17273]
Non-literal expression which is not a part of a literal expression
is not a subject of `shareable_literal_value: literal`.
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_parse.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_parse.rb b/test/ruby/test_parse.rb index 5f8689c6ec..ecacdebc70 100644 --- a/test/ruby/test_parse.rb +++ b/test/ruby/test_parse.rb @@ -1189,6 +1189,7 @@ x = __ENCODING__ B = [[2]] # shareable_constant_value: literal C = [["shareable", "constant#{nil}"]] + D = A [A, B, C] end; |