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
/home/beta/Programming/Nim/constantine/tests/t_ec_sage_bls12_377.nim(18, 28) template/generic instantiation of `run_scalar_mul_test_vs_sage` from here
/home/beta/Programming/Nim/constantine/tests/t_ec_sage_template.nim(192, 26) template/generic instantiation of `loadVectors` from here
/home/beta/Programming/Nim/constantine/tests/t_ec_sage_template.nim(178, 16) template/generic instantiation of `loadFile` from here
/home/beta/.nimble/pkgs/serialization-0.1.0/serialization.nim(96, 11) template/generic instantiation of `readValue` from here
/home/beta/.nimble/pkgs/serialization-0.1.0/serialization.nim(46, 9) template/generic instantiation of `readValue` from here
/home/beta/.nimble/pkgs/json_serialization-0.1.0/json_serialization/reader.nim(497, 11) template/generic instantiation of `totalSerializedFields` from here
/home/beta/.nimble/pkgs/serialization-0.1.0/serialization/object_serialization.nim(179, 36) template/generic instantiation of `totalSerializedFieldsImpl` from here
/home/beta/.nimble/pkgs/serialization-0.1.0/serialization/object_serialization.nim(176, 26) template/generic instantiation of `enumAllSerializedFields` from here
/home/beta/.nimble/pkgs/serialization-0.1.0/serialization/object_serialization.nim(153, 32) template/generic instantiation of `enumAllSerializedFieldsImpl` from here
/home/beta/.nimble/pkgs/serialization-0.1.0/serialization/object_serialization.nim(104, 33) Error: cannot instantiate TestVector
got: <EC: ECP_ShortW_Aff>
but expected: <EC: ECP_ShortW_Aff>
The text was updated successfully, but these errors were encountered:
mratsim
changed the title
Generics: getTypeInst causes issue with generic constraints
Generics regression: getTypeInst causes issue with generic constraints
Jan 21, 2021
mratsim
added a commit
to mratsim/constantine
that referenced
this issue
Jan 21, 2021
* Pin nim-serialization. Workaround #113 and status-im/nim-serialization#33
* Need to workaround nimble installing dependency multiple times
* non-interactive
* UB sanitizer missing on mingw
* Fix OpenSSL benchmark on non-Linux platforms
* Accelerate CI:
- Skip 32-bit on 64-bit tests
- Only test leaf functionality.
* Don't define -fstack-protector-all with MinGW
* skip line functions and cyclotomic tests (already tested in pairing) + only compile the benches don't run them.
In Constantine the following type used to be deserializable.
https://github.com/mratsim/constantine/blob/023e690/tests/t_ec_sage_template.nim#L95-L100
It now breaks mratsim/constantine#113
![image](https://user-images.githubusercontent.com/22738317/105252866-980e1a00-5b7e-11eb-8816-9dc5e71cd05c.png)
The stacktrace points to
getTypeInst
nim-serialization/serialization/object_serialization.nim
Lines 98 to 104 in 4e2ffe3
Another instance of nim-lang/RFCs#44
The text was updated successfully, but these errors were encountered: