mirror of
https://github.com/Dummi26/mers.git
synced 2025-03-10 14:13:52 +01:00
adjust &list.pop return type to match actual return type
This commit is contained in:
parent
6618a4c00d
commit
3b179ba2d4
@ -38,7 +38,10 @@ impl Config {
|
|||||||
).into());
|
).into());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(out)
|
Ok(Type::newm(vec![
|
||||||
|
Arc::new(Type::new(data::tuple::TupleT(vec![out]))),
|
||||||
|
Arc::new(Type::empty_tuple())
|
||||||
|
]))
|
||||||
} else {
|
} else {
|
||||||
return Err(format!("pop: not a reference: {a}").into());
|
return Err(format!("pop: not a reference: {a}").into());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user