aboutsummaryrefslogtreecommitdiff
path: root/code_obj.lua
diff options
context:
space:
mode:
Diffstat (limited to 'code_obj.lua')
-rw-r--r--code_obj.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/code_obj.lua b/code_obj.lua
index 7fa91fc..cc2fb69 100644
--- a/code_obj.lua
+++ b/code_obj.lua
@@ -85,7 +85,7 @@ do
local _continue_0 = false
repeat
local b = select(i, ...)
- assert(b)
+ assert(b, "bit is nil")
if b == '' then
_continue_0 = true
break
@@ -176,7 +176,7 @@ do
if type(self.source) == 'string' then
self.source = Source:from_string(self.source)
end
- assert(self.source and Source:is_instance(self.source))
+ assert(self.source and Source:is_instance(self.source), "Source has the wrong type")
return self:append(...)
end,
__base = _base_0,