cda-group / arc

Programming Language for Continuous Deep Analytics
https://cda-group.github.io/arc/
44 stars 6 forks source link

mlir: Verify that enum_access isn't used with none-typed variants #285

Closed frej closed 3 years ago

frej commented 3 years ago

Trying to retrieve the value of a none-typed variant does not make sense, so let the verifier refuse such a constructs.