Skip to content

Commit

Permalink
tests: fix broken test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Oct 29, 2024
1 parent 5678508 commit d28e660
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/src/compiler/ir/tests/testdata/2.no-folding.ir
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,34 @@ RULE test
AND
LE
FIELD_ACCESS
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 12 }) }
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 17 }) }
IDENT Symbol { type_value: integer(unknown), kind: Field(0, false) }
PATTERN_OFFSET PatternIdx(0) INDEX
IDENT Symbol { type_value: integer(unknown), kind: Var(Var { ty: integer, index: 0 }) }
IDENT Symbol { type_value: integer(unknown), kind: Var(Var { ty: integer, index: 5 }) }
LE
PATTERN_OFFSET PatternIdx(0) INDEX
IDENT Symbol { type_value: integer(unknown), kind: Var(Var { ty: integer, index: 0 }) }
IDENT Symbol { type_value: integer(unknown), kind: Var(Var { ty: integer, index: 5 }) }
ADD
FIELD_ACCESS
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 12 }) }
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 17 }) }
IDENT Symbol { type_value: integer(unknown), kind: Field(0, false) }
FIELD_ACCESS
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 12 }) }
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 17 }) }
IDENT Symbol { type_value: integer(unknown), kind: Field(1, false) }
LE
FIELD_ACCESS
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 12 }) }
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 17 }) }
IDENT Symbol { type_value: integer(unknown), kind: Field(0, false) }
PATTERN_OFFSET PatternIdx(1) INDEX
IDENT Symbol { type_value: integer(unknown), kind: Var(Var { ty: integer, index: 6 }) }
IDENT Symbol { type_value: integer(unknown), kind: Var(Var { ty: integer, index: 11 }) }
LE
PATTERN_OFFSET PatternIdx(1) INDEX
IDENT Symbol { type_value: integer(unknown), kind: Var(Var { ty: integer, index: 6 }) }
IDENT Symbol { type_value: integer(unknown), kind: Var(Var { ty: integer, index: 11 }) }
ADD
FIELD_ACCESS
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 12 }) }
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 17 }) }
IDENT Symbol { type_value: integer(unknown), kind: Field(0, false) }
FIELD_ACCESS
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 12 }) }
IDENT Symbol { type_value: struct, kind: Var(Var { ty: struct, index: 17 }) }
IDENT Symbol { type_value: integer(unknown), kind: Field(1, false) }

0 comments on commit d28e660

Please sign in to comment.