-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throw on nonexistent/invalid SimDevice name in SimDeviceSim constructor #5041
Throw on nonexistent/invalid SimDevice name in SimDeviceSim constructor #5041
Conversation
What's the rationale for this? |
0a68fb1
to
24b1662
Compare
Currently creating a This fails fast rather than delaying until the first use. |
So getting a nonexistent/wrongly-typed property should fail-fast as well. |
Probably, yeah. I can add those as well. |
…constructor (wpilibsuite#5041)" This reverts commit d991f6e.
…tor (wpilibsuite#5041) Previously this would just create a object that was otherwise non-functional.
…pilibsuite#5053) This breaks current vendor use of SimDeviceSim. This reverts commit d991f6e (wpilibsuite#5041).
No description provided.