Closed jaehyun1ee closed 1 day ago
This adds to the list of (local) compile-time known values in section 18.1. (#1323)
In summary, for index access,
e1[e2]
e1
e2
And for field access,
e.x
e
This adds to the list of (local) compile-time known values in section 18.1. (#1323)
In summary, for index access,
e1[e2]
is local compile-time known if bothe1
ande2
are local compile-time known.e1[e2]
is compile-time known if bothe1
ande2
are compile-time known.e1
should be of a header stack or tuple type.And for field access,
e.x
is local compile-time known ife
is local compile-time known.e.x
is compile-time known ife
is compile-time known.e
should be of a struct, header, or header union type.