Fix boolean
This commit is contained in:
@@ -46,6 +46,10 @@ struct Value
|
||||
this.type = ValueType.Integer;
|
||||
integerValue = value;
|
||||
}
|
||||
this(bool value)
|
||||
{
|
||||
this(cast(int)value);
|
||||
}
|
||||
this(double value)
|
||||
{
|
||||
this.type = ValueType.Double;
|
||||
|
||||
Reference in New Issue
Block a user