Ticket #1877 (closed enhancement: wontfix)
use an enum class for state variables
| Reported by: | dustin | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.8.+ |
| Version: | 0.8.3p1 | Keywords: | simple |
| Cc: |
Description
In particular, build and step states are just integers right now, and we could get better debugging and better runtime checking by using an enum class.
Barry Warsaw has an implementation that we could probably just import:
Change History
Note: See
TracTickets for help on using
tickets.
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
I don't think this is a good idea after all, particularly since these numbers are now well-known in the API.