robotpy / robotpy-wpilib-utilities

Useful utility functions/objects for RobotPy
BSD 3-Clause "New" or "Revised" License
11 stars 20 forks source link

magicbot: Catch invalid state names even earlier #183

Closed auscompgeek closed 3 years ago

auscompgeek commented 3 years ago

Since we now guarantee that state names match their function names, we can now catch this at decoration time rather than class creation time.

virtuald commented 3 years ago

NIce, thanks!