Reworked bound variables into specific LuaType class instead of anonymous objects
This commit is contained in:
@@ -2,6 +2,7 @@ using System;
|
||||
using System.Text;
|
||||
using Upsilon.BaseTypes.Number;
|
||||
using Upsilon.Binder;
|
||||
using Boolean = Upsilon.BaseTypes.Boolean;
|
||||
using Type = Upsilon.BaseTypes.Type;
|
||||
|
||||
namespace UpsilonCompiler
|
||||
@@ -59,7 +60,7 @@ namespace UpsilonCompiler
|
||||
case Type.Nil:
|
||||
return "null";
|
||||
case Type.Boolean:
|
||||
return ((bool)e.Value) ? "true" : "false";
|
||||
return ((Boolean)e.Value) ? "true" : "false";
|
||||
case Type.Number:
|
||||
return ((Number) e.Value).ToString();
|
||||
case Type.String:
|
||||
|
||||
Reference in New Issue
Block a user