Skip to content

Use @unknown default in a switch over SCNGeometryPrimitiveType #21265

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

Merged
merged 1 commit into from
Dec 13, 2018

Conversation

moiseev
Copy link
Contributor

@moiseev moiseev commented Dec 12, 2018

To future-proof the switch statement.

rdar://problem/39029889

@moiseev
Copy link
Contributor Author

moiseev commented Dec 12, 2018

@swift-ci Please test macOS platform

@moiseev
Copy link
Contributor Author

moiseev commented Dec 12, 2018

@swift-ci Please smoke test Linux platform

@jrose-apple
Copy link
Contributor

I mean, that's kinda future-proofed… I guess there was already a precondition above.

@moiseev moiseev merged commit bdc6818 into swiftlang:master Dec 13, 2018
@moiseev moiseev deleted the scenekit-switch-default branch December 13, 2018 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants