Skip to content

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Aug 21, 2024

This PR generalizes the optional chaining detection used in the implementation of unwrapping #require() such that it works with more than just member access expressions.

Resolves #623.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

@grynspan
Copy link
Contributor Author

@swift-ci please test

@grynspan
Copy link
Contributor Author

@swift-ci test Linux

1 similar comment
@grynspan
Copy link
Contributor Author

@swift-ci test Linux

@grynspan grynspan changed the base branch from main to main-next August 21, 2024 13:46
Base automatically changed from main-next to main August 22, 2024 13:39
This PR generalizes the optional chaining detection used in the implementation
of unwrapping `#require()` such that it works with more than just member access
expressions.

Resolves #623.
@grynspan grynspan force-pushed the jgrynspan/623-optional-chaining branch from c74dca6 to d8cd468 Compare August 26, 2024 18:28
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit 133e302 into main Aug 27, 2024
3 checks passed
@grynspan grynspan deleted the jgrynspan/623-optional-chaining branch August 27, 2024 00:11
@grynspan grynspan added this to the Swift 6.1 milestone Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#require broken when accessing optional property
2 participants