made syntax cheat sheet a bit clearer

This commit is contained in:
mark
2023-05-26 20:18:09 +02:00
parent 45f6f30de3
commit 4356858ab2
4 changed files with 24 additions and 21 deletions

View File

@@ -338,9 +338,9 @@ impl RStatementEnum {
let switch_on = switch_on.out(info).types;
let mut might_return_empty = switch_on.is_empty();
let mut out = if *force {
VSingleType::Tuple(vec![]).to()
} else {
VType::empty()
} else {
VSingleType::Tuple(vec![]).to()
};
for switch_on in switch_on {
for (_on_type, _assign_to, case) in cases.iter() {