summaryrefslogtreecommitdiff
path: root/bugs
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-05-13 13:17:47 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-05-13 13:17:47 -0300
commitbef345a4b8747078981e9c65b7050d65bbca6b98 (patch)
treee19740fe5bd18a04e714dfe35c5fbc18c23502db /bugs
parent0ce301810960e77498afb58063a40b125a31f908 (diff)
downloadlua-github-bef345a4b8747078981e9c65b7050d65bbca6b98.tar.gz
bug: Wrong error message in some short-cut expressions
Diffstat (limited to 'bugs')
-rw-r--r--bugs20
1 files changed, 18 insertions, 2 deletions
diff --git a/bugs b/bugs
index ec487f89..b1f5e70b 100644
--- a/bugs
+++ b/bugs
@@ -1880,8 +1880,8 @@ patch = [[
+++ lundump.c 2008/04/04 19:51:41 2.7.1.4
@@ -1,5 +1,5 @@
/*
--** $Id: bugs,v 1.121 2013/05/02 16:13:27 roberto Exp roberto $
-+** $Id: bugs,v 1.121 2013/05/02 16:13:27 roberto Exp roberto $
+-** $Id: bugs,v 1.122 2013/05/06 17:21:28 roberto Exp roberto $
++** $Id: bugs,v 1.122 2013/05/06 17:21:28 roberto Exp roberto $
** load precompiled Lua chunks
** See Copyright Notice in lua.h
*/
@@ -2940,6 +2940,22 @@ patch = [[
]]
}
+Bug{
+what = [[Wrong error message in some short-cut expressions]],
+report = [[Egor Skriptunoff, 2013/05/10]],
+since = [[5.0]],
+fix = nil,
+example = [[
+> a,b,c = true,true,true
+> (a and b or c)('', '')
+stdin:1: attempt to call a boolean value (global 'c')
+
+ (It should be global 'b' instead of 'c'.)
+]],
+patch = [[
+]]
+}
+
--[=[
Bug{
what = [[ ]],