Add type checking for parameter inputs (#1045)

This commit is contained in:
Dennis Kobert
2023-02-20 01:37:13 +01:00
committed by GitHub
parent cf51e63219
commit ef7d0eca18
4 changed files with 41 additions and 33 deletions

View File

@@ -51,7 +51,7 @@ where
core::any::type_name::<Self::Output>()
}
#[cfg(feature = "alloc")]
fn to_node_io(&self, parameters: Vec<Type>) -> NodeIOTypes {
fn to_node_io(&self, parameters: Vec<(Type, Type)>) -> NodeIOTypes {
NodeIOTypes {
input: concrete!(<Input as StaticType>::Static),
output: concrete!(<Self::Output as StaticType>::Static),