Tweak error output for failed data reification.
This commit is contained in:
parent
43182721f5
commit
91843b2c0e
|
@ -1211,7 +1211,8 @@ impl UntypedExpr {
|
||||||
}
|
}
|
||||||
|
|
||||||
Err(format!(
|
Err(format!(
|
||||||
"invalid type annotation {tipo:?} for constructor: {tag:?} with {fields:?}"
|
"invalid type annotation {tipo:?} for {ix}{} constructor with fields: {fields:?}",
|
||||||
|
ordinal::Ordinal::<usize>(ix + 1).suffix(),
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue