implement optimizations
-Force usage on builtins -Inline vars used once -Lambdas that use a var as an arg -Lambdas that use a const as an arg
This commit is contained in:
@@ -1587,6 +1587,7 @@ impl<'a> CodeGenerator<'a> {
|
||||
);
|
||||
}
|
||||
}
|
||||
// TODO: Check constr for assert on all cases
|
||||
constr @ Pattern::Constructor { .. } => {
|
||||
if matches!(assignment_properties.kind, AssignmentKind::Assert)
|
||||
&& assignment_properties.value_is_data
|
||||
|
||||
Reference in New Issue
Block a user