fix problem with specializing rigids

This commit is contained in:
Folkert 2020-10-14 02:21:33 +02:00
parent 6aaba98d31
commit f07fe1879b
5 changed files with 28 additions and 9 deletions

View file

@ -1227,8 +1227,6 @@ fn instantiate_rigids_help(
if let Some(copy) = desc.copy.into_variable() {
return copy;
} else if desc.rank != Rank::NONE {
return var;
}
let make_descriptor = |content| Descriptor {