p4lang / p4-spec

Apache License 2.0
178 stars 80 forks source link

Change code example for sec-type-variable-operations #1311

Closed jaehyun1ee closed 3 weeks ago

jaehyun1ee commented 1 month ago

Following the discussion #1295, this changes the code example of sec-type-variable-operations such that declaration of a local of a variable type happens inside a generic function, not a generic control.