Skip to content

[test] More deserialization recovery vtable layout tests #13103

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 2 commits into from
Nov 28, 2017

Conversation

jrose-apple
Copy link
Contributor

rdar://problem/35508966

This could have had different behavior from normal 'required', but it
doesn't. Everything seems to work.
@jrose-apple
Copy link
Contributor Author

@slavapestov Anything else you can think of?

@swift-ci Please test

@@ -144,7 +144,7 @@ open class User {
// CHECK-RECOVERY: /* placeholder for _ */
public subscript(_: WrappedInt) -> () { return () }

// CHECK: subscript<T>(_: T) -> () where T : HasAssoc, T.Assoc == WrappedInt { get }
// CHECKx: subscript<T>(_: T) -> () where T : HasAssoc, T.Assoc == WrappedInt { get }
Copy link
Contributor

Choose a reason for hiding this comment

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

Is CHECKx intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bah, I hadn't rebuilt everything to pick up Nathan's fix for this. Thanks for the catch.

We already a section on this but it didn't check vtable offsets.
Better to have this explicitly tested!

rdar://problem/35508966
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test and merge

1 similar comment
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit 384c198 into swiftlang:master Nov 28, 2017
@jrose-apple jrose-apple deleted the getting-testy branch November 28, 2017 19: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.

3 participants