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