Improve validation of `Constant_litteral`
Closed this issue · 1 comments
mransan commented
Right now we do not validate that a constant litteral indeed makes sense. (ie that it is a valid enum value).
The only validation currently done is here:
https://github.com/mransan/ocaml-protoc/blob/master/src/lib/pbtt_util.ml#L156
Not sure we have all the information necessary at that point of the program to make full validation.