fix unification test
This commit is contained in:
parent
c60d55adba
commit
a6a6677920
1 changed files with 3 additions and 3 deletions
|
@ -173,12 +173,12 @@ fn test_subtype_unification() {
|
|||
UnificationProblem::new(vec![
|
||||
(dict.parse("<Seq T>").unwrap(),
|
||||
dict.parse("<Seq W~<Seq Char>>").unwrap()),
|
||||
(dict.parse("<Seq ℕ~<PosInt 10 BigEndian>>").unwrap(),
|
||||
dict.parse("<Seq~<LengthPrefix x86.UInt64> W>").unwrap()),
|
||||
(dict.parse("<Seq~<LengthPrefix x86.UInt64> ℕ~<PosInt 10 BigEndian>>").unwrap(),
|
||||
dict.parse("<<LengthPrefix x86.UInt64> W>").unwrap()),
|
||||
]).solve_subtype(),
|
||||
Ok((
|
||||
dict.parse("
|
||||
<Seq~<LengthPrefix x86.UInt64> ℕ~<PosInt 10 BigEndian>>
|
||||
<Seq ℕ~<PosInt 10 BigEndian>>
|
||||
").unwrap(),
|
||||
vec![
|
||||
// W
|
||||
|
|
Loading…
Add table
Reference in a new issue