What is the deal with enum naming convention?

After downloading the latest master version using ZVM, I ran into this error:

error: no field named 'Auto' in enum 'builtin.Type.ContainerLayout'

The enum in question is apparently no longer capitalized.

My question, having not followed the discussion, is whether it’s been decided once and for all that enums should be in lowercase. If so, is the plan to propagate the change throughout the std namespace prior to the release of 0.12.0?

It’s an accepted proposal since 2019-12-31, currently marked for milestone 0.15


Hmmm, that’s not very reassuring. Is there any sort of plan for the transition? It’d be nice if breaking changes that are stylistic in nature happen only at the beginning of a release cycle.

1 Like