Expose important types
This commit is contained in:
@@ -42,6 +42,10 @@ pub enum CompileError {
|
|||||||
expected: Type,
|
expected: Type,
|
||||||
found: Type,
|
found: Type,
|
||||||
},
|
},
|
||||||
|
InvalidFormulaType {
|
||||||
|
expected: Type,
|
||||||
|
found: Type,
|
||||||
|
},
|
||||||
VariableNotFound(String),
|
VariableNotFound(String),
|
||||||
ConditionMustBeBool,
|
ConditionMustBeBool,
|
||||||
ConditionalBranchesMustHaveSameType(Type, Type),
|
ConditionalBranchesMustHaveSameType(Type, Type),
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ use chrono::NaiveDate;
|
|||||||
use formula_writer::FormulaWriter;
|
use formula_writer::FormulaWriter;
|
||||||
pub use object::FormulaObject;
|
pub use object::FormulaObject;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use types::Type;
|
pub use types::Type;
|
||||||
use value::Value;
|
pub use value::Value;
|
||||||
|
|
||||||
mod array_formula;
|
mod array_formula;
|
||||||
mod bool_formula;
|
mod bool_formula;
|
||||||
|
|||||||
Reference in New Issue
Block a user