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

* Accept any input for nodes that expect () as input

* Add comments

* More comments

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Dennis Kobert
2024-05-07 16:36:25 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent 07fd2c2782
commit ce96ae66f2
5 changed files with 54 additions and 293 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ let
rustc-wasm = pkgs.rust-bin.stable.latest.default.override {
targets = [ "wasm32-unknown-unknown" ];
# wasm-pack needs this
extensions = [ "rust-src" ];
extensions = [ "rust-src" "rust-analyzer" "clippy" ];
};
in
# Make a shell with the dependencies we need