From bf67a610135c0803187cf6ed896638962f142d14 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 18 Jul 2018 17:55:29 -0700 Subject: Updating to version 2.4.4.3, with new syntax for multi-statement 'if' and switch statements. --- code_obj.moon | 6 ------ 1 file changed, 6 deletions(-) (limited to 'code_obj.moon') 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 -- cgit v1.2.3