ruby-changes:57573
From: Aaron <ko1@a...>
Date: Fri, 6 Sep 2019 03:37:40 +0900 (JST)
Subject: [ruby-changes:57573] f211ab2015 (master): I forgot to add `break` in my case statements
https://git.ruby-lang.org/ruby.git/commit/?id=f211ab2015 From f211ab20157a840770567ea182b1372e339cd82a Mon Sep 17 00:00:00 2001 From: Aaron Patterson <tenderlove@r...> Date: Thu, 5 Sep 2019 11:37:03 -0700 Subject: I forgot to add `break` in my case statements Give me a break. diff --git a/node.c b/node.c index d844473..64e2d8f 100644 --- a/node.c +++ b/node.c @@ -1269,11 +1269,13 @@ mark_ast_value(void *ctx, NODE * node) https://github.com/ruby/ruby/blob/trunk/node.c#L1269 { struct rb_ary_pattern_info *apinfo = node->nd_apinfo; rb_gc_mark(apinfo->imemo); + break; } case NODE_ARGS: { struct rb_args_info *args = node->nd_ainfo; rb_gc_mark(args->imemo); + break; } case NODE_LIT: case NODE_STR: -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/