From 6bfef60e77f5eec1057470010b4179ee6f830fe6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 11 Mar 2005 12:51:08 -0300 Subject: bug: rawset/rawget do not ignore extra arguments --- bugs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'bugs') diff --git a/bugs b/bugs index efff0bbe..a537f84e 100644 --- a/bugs +++ b/bugs @@ -743,3 +743,24 @@ patch = [[ ]], } + +Bug{ +what = [[rawset/rawget do not ignore extra arguments]], + +report = [[Romulo Bahiense, 11/03/2005]], + +example = [[ +a = {} +rawset(a, 1, 2, 3) +print(a[1], a[2]) -- should be 2 and nil +]], + +patch = [[ +* lbaselib.c: +175a176 +> lua_settop(L, 2); +183a185 +> lua_settop(L, 3); +]], +} + -- cgit v1.2.3-55-g6feb