aboutsummaryrefslogtreecommitdiff
path: root/code_obj.lua
diff options
context:
space:
mode:
Diffstat (limited to 'code_obj.lua')
-rw-r--r--code_obj.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/code_obj.lua b/code_obj.lua
index e8e86fa..e77af5c 100644
--- a/code_obj.lua
+++ b/code_obj.lua
@@ -17,6 +17,8 @@ Source = immutable({
end
if stop then
assert(start <= stop + 1, "Invalid range: " .. tostring(start) .. ", " .. tostring(stop))
+ else
+ error("HUH?")
end
return filename, start, stop
end,