You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'test_method_call_zip_0' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidArgumentError("MethodCall: expected types [SColl(STypeVar(\"T\")), SColl(SBox)] do not match provided obj and args types [SColl(SBox), SColl(SBox)]")'
There are others with similar problems like Coll.patch.
The text was updated successfully, but these errors were encountered:
Found while expanding scala JIT test suite examples for issue #633.
E.g. consider the
Coll.zip
method.In scala the implementation is here: https://github.com/ScorexFoundation/sigmastate-interpreter/blob/0c5c5b515ccb452536e440469b56d763d5ba30ec/sigmastate/src/main/scala/sigmastate/types.scala#L1658
Note the use of the
IV
andOV
type variables.Now on rust the
T
type variable is used:sigma-rust/ergotree-ir/src/types/scoll.rs
Lines 84 to 89 in 7f44ece
This breaks my proc-macro test which is directly lifted from Scala:
This gives test gives the following error:
There are others with similar problems like
Coll.patch
.The text was updated successfully, but these errors were encountered: