Skip to content

Commit

Permalink
fix CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwtw committed May 28, 2024
1 parent bd61dd0 commit 27a1197
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: ConorMacBride/install-package@v1
with:
apt: libpango1.0-dev libgtk-4-dev lua5.4
apt: libpango1.0-dev libgtk-4-dev liblua5.4-dev lua5.4

- uses: KyleMayes/install-llvm-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions lib/src/analysis/type_analyze.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl AstVisitorMut for TypeAnalyzer {
};

variable.set_ty(ty.clone());
attr.derived_type = ty.clone();
attr.derived_type.clone_from(&ty);
}

fn visit_operator_expression_mut(&mut self, expr: &mut OperatorExpression) {
Expand All @@ -123,7 +123,7 @@ impl AstVisitorMut for TypeAnalyzer {
}

if result_type.is_none() {
*result_type = attr.derived_type.clone();
result_type.clone_from(&attr.derived_type);
continue;
}
}
Expand Down

0 comments on commit 27a1197

Please sign in to comment.