Set allow_loop_expressions to true by default.

This commit is contained in:
Stephen Chung
2023-02-16 20:35:15 +08:00
parent 513a1ab435
commit 6b301b4e70
4 changed files with 47 additions and 2 deletions

View File

@@ -1254,7 +1254,9 @@ impl Engine {
};
if forbidden {
return Err(PERR::WrongSwitchIntegerCase.into_err(expr.start_position()));
return Err(
PERR::WrongSwitchIntegerCase.into_err(expr.start_position())
);
}
}