aboutsummaryrefslogtreecommitdiff
path: root/code_obj.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-18 17:55:29 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-18 17:56:15 -0700
commitbf67a610135c0803187cf6ed896638962f142d14 (patch)
treea0b126c954168282c8c69ea728d4abbae712ac33 /code_obj.moon
parentacb86f78c3f79479ac3a73f0e5862f8f5d8f31f5 (diff)
Updating to version 2.4.4.3, with new syntax for multi-statement 'if'
and switch statements.
Diffstat (limited to 'code_obj.moon')
-rw-r--r--code_obj.moon6
1 files changed, 0 insertions, 6 deletions
diff --git a/code_obj.moon b/code_obj.moon
index e1cf226..9bfa9a5 100644
--- a/code_obj.moon
+++ b/code_obj.moon
@@ -4,7 +4,6 @@
{:insert, :remove, :concat} = table
{:repr} = require 'utils'
local LuaCode, NomsuCode, Source
-export LINE_STARTS
class Source
new: (@filename, @start, @stop)=>
@@ -185,11 +184,6 @@ class LuaCode extends Code
if suffix != ""
statements\append suffix
return statements
-
- as_expr: =>
- if @is_value
- return self
- error("Cannot convert to expression: #{tostring self}")
__tostring: =>
if @__str == nil