1
0

Fix boolean

This commit is contained in:
otya128
2016-12-17 16:34:16 +09:00
parent 8e3136ad7a
commit 3283b4558a

View File

@@ -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;