mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-24 07:48:04 +03:00
use eq_flat type comparison method
This commit is contained in:
parent
62dc7b4b22
commit
9215d911e6
@ -68,7 +68,7 @@ impl OutputBytes {
|
||||
let register_type = parameter.type_;
|
||||
let return_value_type = value.to_type(&span)?;
|
||||
|
||||
if register_type != return_value_type {
|
||||
if !register_type.eq_flat(&return_value_type) {
|
||||
return Err(OutputBytesError::mismatched_output_types(
|
||||
register_type,
|
||||
return_value_type,
|
||||
|
Loading…
Reference in New Issue
Block a user