mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 10:08:13 +08:00
Add type checking for parameter inputs (#1045)
This commit is contained in:
committed by
Keavon Chambers
parent
98f172414a
commit
a993938d80
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user