bug: rawset/rawget do not ignore extra arguments

This commit is contained in:
Roberto Ierusalimschy committed 2005-03-11 12:51:08 -03:00
1 parent 370d31a559
commit 6bfef60e77
2 files changed
+24 -1

No files matched your search

+21
View File
@@ -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);
]],
}