verified-network-toolchain / petr4

Petr4: Formal Semantics for P4
Apache License 2.0
74 stars 20 forks source link

Value set size should be compile-time known #268

Open hackedy opened 3 years ago

hackedy commented 3 years ago

The size argument to a value set should be a nat/int by the time it reaches the typed AST. So the typechecker should do that compile-time evaluation.

hackedy commented 3 years ago

@MollyDream