GraphiteEditor / Graphite

2D vector & raster editor that melds traditional layers & tools with a modern node-based, non-destructive, procedural workflow.
https://graphite.rs
Apache License 2.0
7.3k stars 386 forks source link

Loosen the Graphene type system to allow contravariant function arguments #1740

Closed TrueDoctor closed 1 month ago

TrueDoctor commented 1 month ago

This partially implements the contravariant function arguments RFC by permitting to call nodes with any input if the node expects to receive () as an input

Closes #1741

Keavon commented 1 month ago
Keavon commented 1 month ago

I think I'll merge this now, though, and let you solve those regressions in a followup PR. Since I'd like to do a release today.