Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Related to#2693 , in my project we only use either purely numeric or purely string enums; i want to discourage my teammates to make enums that have both, since it makes it trickier to get a definite set of enum values from the enum object.
// badenum Foo { A = "A", B, C = 5}// OKenum Bar { A = "A", B = "B"}enum Baz { A, B, C = 5}