Skip to content

Conversation

@hamishknight
Copy link
Contributor

Previously we would form an .other character property kind for any unclassified properties, which crash at runtime as unsupported. Instead, switch to erroring on them. Eventually it would be nice if we could version this based on what the runtime being targeted supports.

Previously we would form an `.other` character
property kind for any unclassified properties,
which crash at runtime as unsupported. Instead,
switch to erroring on them. Eventually it would be
nice if we could version this based on what the
runtime being targeted supports.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

Copy link
Member

@natecook1000 natecook1000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, this is a better approach! 👍🏻

@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight merged commit e1604a6 into swiftlang:main Apr 19, 2022
@hamishknight hamishknight deleted the error-on-unknown-props branch April 19, 2022 06:48
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