summaryrefslogtreecommitdiff
path: root/src/componentparameter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/componentparameter.rs')
-rw-r--r--src/componentparameter.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/componentparameter.rs b/src/componentparameter.rs
index 333c6e1..30a7d91 100644
--- a/src/componentparameter.rs
+++ b/src/componentparameter.rs
@@ -120,6 +120,7 @@ impl ComponentParameter {
}
}
+ #[allow(dead_code)]
pub fn get_type(&self, arguments: &[(String, ParameterType, Option<Parameter>)]) -> Result<ParameterType>{
Ok(match self {
Self::Constant(param) => param.paramtype(),