Skip to content

Commit 44b95ec

Browse files
shorten comment
1 parent 2ea31f5 commit 44b95ec

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

test/struct_array_field/struct_array_field.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33
// Regression test for the struct array-field emission fix.
44
//
55
// Exercises `s->arr_field[i]` (read and write) on a struct passed by
6-
// pointer. Before the fix, Member access on an _array T * field went
7-
// through __get_<fld>, which returned an awkward `ref (array T)`
8-
// requiring a `!` deref at the call site (only verifying through a
9-
// chain of rewrites_to that happened to bottom out at the value-record
10-
// path). After the fix, Member access for an array field on an LValue
11-
// receiver emits `(!x).struct_S__f` directly, so the handle the user
12-
// works with is exactly the path the struct predicate speaks about.
6+
// pointer.
137

148
typedef struct {
159
_array unsigned *data;

0 commit comments

Comments
 (0)