Skip to content

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Aug 18, 2023

hasEmptyPath in locator builder context means that there are no new elements
added which is different from the materialized locator, directlyAt has to use !last()
to check whether or not there are any elements in the path of this builder.

`hasEmptyPath` in locator builder context means that there are
no new elements added which is different from the materialized
locator, `directlyAt` has to use `!last()` to check whether or
not there are any elements in the path of this builder.
@xedin xedin requested a review from hborla as a code owner August 18, 2023 17:53
@xedin
Copy link
Contributor Author

xedin commented Aug 18, 2023

There is only one user of this method at the moment so no test case unfortunately. Discovered while working on key path related changes with @amritpan

@xedin
Copy link
Contributor Author

xedin commented Aug 18, 2023

@swift-ci please test

@xedin xedin merged commit 594469a into swiftlang:main Aug 19, 2023
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.

1 participant