From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 8 May 2018 18:36:30 +0300 From: Konstantin Osipov Subject: Re: [tarantool-patches] [PATCH 1/8] lua: fix box.error.raise Message-ID: <20180508153630.GA4867@atlas> References: <860da7f4e8760673d6052614a5df1d4bdb67c06b.1523903144.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <860da7f4e8760673d6052614a5df1d4bdb67c06b.1523903144.git.v.shpilevoy@tarantool.org> To: tarantool-patches@freelists.org Cc: vdavydov.dev@gmail.com List-ID: * Vladislav Shpilevoy [18/04/16 21:44]: > It did not work because raise is implemented as __index metatable > member, and error() is __call metatable member. The second one > takes additional implicit argument - self. box.error.raise() is not documented. And since it doesn't work, we can be sure it's not used. Please remove it instead. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov