diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-18 17:55:29 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-18 17:56:15 -0700 |
| commit | bf67a610135c0803187cf6ed896638962f142d14 (patch) | |
| tree | a0b126c954168282c8c69ea728d4abbae712ac33 /code_obj.moon | |
| parent | acb86f78c3f79479ac3a73f0e5862f8f5d8f31f5 (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.moon | 6 |
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 |
