Add stubs for casting the new OwnedBooleans.
This commit is contained in:
parent
83c86ff9b3
commit
eb3b1ae30a
@ -226,16 +226,19 @@ impl Castable for OwnedLiteral {
|
|||||||
.map(|num| IceResult::from_owned(OwnedLiteral::LFloat(num)))
|
.map(|num| IceResult::from_owned(OwnedLiteral::LFloat(num)))
|
||||||
})
|
})
|
||||||
.ok(),
|
.ok(),
|
||||||
|
(OwnedLiteral::LBoolean(_), "number") => todo!(),
|
||||||
(OwnedLiteral::LPositiveInteger(_), "number") => Some(IceResult::from_borrowed(self)),
|
(OwnedLiteral::LPositiveInteger(_), "number") => Some(IceResult::from_borrowed(self)),
|
||||||
(OwnedLiteral::LNegativeInteger(_), "number") => Some(IceResult::from_borrowed(self)),
|
(OwnedLiteral::LNegativeInteger(_), "number") => Some(IceResult::from_borrowed(self)),
|
||||||
(OwnedLiteral::LFloat(_), "number") => Some(IceResult::from_borrowed(self)),
|
(OwnedLiteral::LFloat(_), "number") => Some(IceResult::from_borrowed(self)),
|
||||||
|
|
||||||
(OwnedLiteral::LString(text), "string") => todo!(),
|
(OwnedLiteral::LString(text), "string") => todo!(),
|
||||||
|
(OwnedLiteral::LBoolean(_), "string") => todo!(),
|
||||||
(OwnedLiteral::LPositiveInteger(_), "string") => todo!(),
|
(OwnedLiteral::LPositiveInteger(_), "string") => todo!(),
|
||||||
(OwnedLiteral::LNegativeInteger(_), "string") => todo!(),
|
(OwnedLiteral::LNegativeInteger(_), "string") => todo!(),
|
||||||
(OwnedLiteral::LFloat(_), "string") => todo!(),
|
(OwnedLiteral::LFloat(_), "string") => todo!(),
|
||||||
|
|
||||||
(OwnedLiteral::LString(text), "boolean") => todo!(),
|
(OwnedLiteral::LString(text), "boolean") => todo!(),
|
||||||
|
(OwnedLiteral::LBoolean(_), "boolean") => todo!(),
|
||||||
(OwnedLiteral::LPositiveInteger(_), "boolean") => todo!(),
|
(OwnedLiteral::LPositiveInteger(_), "boolean") => todo!(),
|
||||||
(OwnedLiteral::LNegativeInteger(_), "boolean") => todo!(),
|
(OwnedLiteral::LNegativeInteger(_), "boolean") => todo!(),
|
||||||
(OwnedLiteral::LFloat(_), "boolean") => todo!(),
|
(OwnedLiteral::LFloat(_), "boolean") => todo!(),
|
||||||
|
Loading…
Reference in New Issue
Block a user