Fix boolean
This commit is contained in:
1 parent
8e3136ad7a
commit
3283b4558a
1 file changed
+4
@@ -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