werediver / dart-reptr-rs

Fast code generation for Dart. Eventually. Maybe.
MIT License
5 stars 3 forks source link

Allow comments and annotations in above enum values #61

Closed werediver closed 1 year ago

werediver commented 1 year ago

The new implementation does not allow comments below the last enum value, which is allowed in Dart and may realistically appear in the wild, e.g.

enum Abc {
  a,
  b,
  // c,
}