ruby-changes:64680
From: Nobuyoshi <ko1@a...>
Date: Thu, 31 Dec 2020 12:30:35 +0900 (JST)
Subject: [ruby-changes:64680] 62450e0acf (master): Fixed missing NORETURN on rb_mod_const_missing
https://git.ruby-lang.org/ruby.git/commit/?id=62450e0acf From 62450e0acf844510808f18d219aaf7da936b5b58 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 31 Dec 2020 12:30:13 +0900 Subject: Fixed missing NORETURN on rb_mod_const_missing diff --git a/include/ruby/backward.h b/include/ruby/backward.h index 031fd86..445f4cc 100644 --- a/include/ruby/backward.h +++ b/include/ruby/backward.h @@ -53,7 +53,7 @@ RBIMPL_ATTR_DEPRECATED_INTERNAL(2.7) void rb_clear_trace_func(); https://github.com/ruby/ruby/blob/trunk/include/ruby/backward.h#L53 /* variable.c */ RBIMPL_ATTR_DEPRECATED_INTERNAL(2.7) void rb_generic_ivar_table(); -RBIMPL_ATTR_DEPRECATED_INTERNAL(2.6) VALUE rb_mod_const_missing(VALUE, VALUE); +RBIMPL_ATTR_DEPRECATED_INTERNAL(2.6) NORETURN(VALUE rb_mod_const_missing(VALUE, VALUE)); /* from version.c */ #if defined(RUBY_SHOW_COPYRIGHT_TO_DIE) && !!(RUBY_SHOW_COPYRIGHT_TO_DIE+0) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/