fix oversight

This commit is contained in:
Folkert 2021-02-18 22:34:46 +01:00
parent 3a9999f723
commit 2afc804a9b

View file

@ -5359,7 +5359,9 @@ fn store_record_destruct<'a>(
| FloatLiteral(_)
| EnumLiteral { .. }
| BitLiteral { .. }
| StrLiteral(_) => {}
| StrLiteral(_) => {
return StorePattern::NotProductive(stmt);
}
_ => {
let symbol = env.unique_symbol();