summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-09-28 14:51:19 -0400
committergit <svn-admin@ruby-lang.org>2023-09-28 18:51:26 +0000
commit223e9fcb275379c7b397b56f5b32efa616b0f7e7 (patch)
treeb1fb0b554cc496bec09fee4c6bf41b786fec158a
parentcc6ffceeec3ec98a51b5c8445d3ef957e08406ab (diff)
[ruby/prism] Self should not be marked as static literal
https://github.com/ruby/prism/commit/81265ed8a7
-rw-r--r--prism/prism.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/prism/prism.c b/prism/prism.c
index 5e3e769775..f99fadf2d6 100644
--- a/prism/prism.c
+++ b/prism/prism.c
@@ -4112,7 +4112,6 @@ pm_self_node_create(pm_parser_t *parser, const pm_token_t *token) {
*node = (pm_self_node_t) {{
.type = PM_SELF_NODE,
- .flags = PM_NODE_FLAG_STATIC_LITERAL,
.location = PM_LOCATION_TOKEN_VALUE(token)
}};