cda-group / arc

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

mlir-rust: Correct Rust output for unit valued enum variants #270

Closed frej closed 3 years ago

frej commented 3 years ago

When the unit type is used to declare an enum variant it should be written as unit, but when used as the type of a variable or the return type of a function it should be ().