swift-testing icon indicating copy to clipboard operation
swift-testing copied to clipboard

Add a test for property access on ~Escapable types

Open natecook1000 opened this issue 9 months ago • 5 comments

This tests using a ~Escapable type as the LHS of a property access inside the #expect and #require macros. A ~Escapable return value from #require is unsupported.

Checklist:

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

natecook1000 avatar Jun 13 '25 17:06 natecook1000

@swift-ci please test

stmontgomery avatar Jun 13 '25 17:06 stmontgomery

I believe this test is dependent on #840, right?

grynspan avatar Jun 13 '25 17:06 grynspan

Right! I believe it's aimed at that branch, not main. Should I direct it somewhere else?

natecook1000 avatar Jul 09 '25 13:07 natecook1000

Nope, just confirming the dependency is why the test failed. You could redirect the PR to merge to that branch, and then it would pass?

grynspan avatar Jul 09 '25 14:07 grynspan

@swift-ci test

grynspan avatar Jul 09 '25 19:07 grynspan