Skip to content

Commit

Permalink
Rust: fix MatchExpr.getExpr renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo Tranquilli committed Nov 25, 2024
1 parent 261e0a1 commit b47e961
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module Impl {
*/
class MatchExpr extends Generated::MatchExpr {
override string toString() {
result = "match " + this.getExpr().toAbbreviatedString() + " { ... }"
result = "match " + this.getMatchedExpr().toAbbreviatedString() + " { ... }"
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
| gen_match_expr.rs:5:5:8:5 | match x { ... } | getNumberOfAttrs: | 0 | hasMatched: | yes | hasMatchArmList: | yes |
| gen_match_expr.rs:9:5:12:5 | match x { ... } | getNumberOfAttrs: | 0 | hasMatched: | yes | hasMatchArmList: | yes |
| gen_match_expr.rs:5:5:8:5 | match x { ... } | getNumberOfAttrs: | 0 | hasMatchedExpr: | yes | hasMatchArmList: | yes |
| gen_match_expr.rs:9:5:12:5 | match x { ... } | getNumberOfAttrs: | 0 | hasMatchedExpr: | yes | hasMatchArmList: | yes |
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
| gen_match_expr.rs:5:5:8:5 | match x { ... } | gen_match_expr.rs:5:11:5:11 | x |
| gen_match_expr.rs:9:5:12:5 | match x { ... } | gen_match_expr.rs:9:11:9:11 | x |

0 comments on commit b47e961

Please sign in to comment.