From fb6a489af2765a3b56e301adf0019af6bbad6156 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 24 Oct 2019 01:06:59 +0900 Subject: Revert "Method reference operator" This reverts commit 67c574736912003c377218153f9d3b9c0c96a17b. [Feature #16275] --- ast.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'ast.c') diff --git a/ast.c b/ast.c index 236560b094..1133fb8a10 100644 --- a/ast.c +++ b/ast.c @@ -432,9 +432,6 @@ node_children(rb_ast_t *ast, NODE *node) NEW_CHILD(ast, node->nd_args)); case NODE_VCALL: return rb_ary_new_from_args(1, ID2SYM(node->nd_mid)); - case NODE_METHREF: - return rb_ary_new_from_args(2, NEW_CHILD(ast, node->nd_recv), - ID2SYM(node->nd_mid)); case NODE_SUPER: return rb_ary_new_from_node_args(ast, 1, node->nd_args); case NODE_ZSUPER: -- cgit v1.2.3