Details
- new error message for "attempt to assign to const variable" - note in the manual about compatibility options - comments - small changes in 'read_line' and 'pushstr'
This commit is contained in:
@@ -452,7 +452,6 @@ do
|
||||
end)
|
||||
assert(co() == 100)
|
||||
local st, msg = pcall(co)
|
||||
print(msg)
|
||||
-- should get last error raised
|
||||
assert(not st and string.find(msg, "%w+%.%w+:%d+: XXX"))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user