preparation for recursive tag unions

This commit is contained in:
Folkert 2020-03-19 12:20:12 +01:00
parent 9d1e2a0ef1
commit c31116af87
2 changed files with 79 additions and 1 deletions

View file

@ -715,7 +715,7 @@ fn from_can<'a>(
variant_var,
&mut tags,
) {
Ok(()) => {
Ok(()) | Err((_, Content::FlexVar(_))) => {
tags.sort();
}
other => panic!("invalid value in ext_var {:?}", other),