aboutsummaryrefslogtreecommitdiff
path: root/code_obj.lua
diff options
context:
space:
mode:
Diffstat (limited to 'code_obj.lua')
-rw-r--r--code_obj.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/code_obj.lua b/code_obj.lua
index 37ac55a..b67e78d 100644
--- a/code_obj.lua
+++ b/code_obj.lua
@@ -312,12 +312,6 @@ do
end
return statements
end,
- as_expr = function(self)
- if self.is_value then
- return self
- end
- return error("Cannot convert to expression: " .. tostring(tostring(self)))
- end,
__tostring = function(self)
if self.__str == nil then
local buff, indent = { }, 0