Skip to content

Conversation

@ktoso
Copy link
Contributor

@ktoso ktoso commented Jun 22, 2023

The test does not trigger the "source file is null" branch though, I'm trying to find out how to test this.

@ktoso ktoso requested review from hborla and xedin as code owners June 22, 2023 10:49
@ktoso ktoso added the distributed Feature → concurrency: distributed actor label Jun 22, 2023
@ktoso
Copy link
Contributor Author

ktoso commented Jun 22, 2023

refs #66842

Copy link
Contributor

Choose a reason for hiding this comment

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

Regardless of source null issue I think it's good to have a round-trip test like we have for property wrappers - https://github.com/apple/swift/blob/main/test/ModuleInterface/property_wrappers.swift. It emits swiftinterface, type-checks it and uses it to emit a module.

@ktoso ktoso force-pushed the wip-try-to-make-test branch from fec76ef to a1b7aa5 Compare June 23, 2023 10:25
@ktoso
Copy link
Contributor Author

ktoso commented Jun 23, 2023

I did a roundtrip test, does this look good @xedin ?

@ktoso
Copy link
Contributor Author

ktoso commented Jun 23, 2023

@swift-ci please smoke test

@ktoso ktoso changed the title [WIP][Distributed] Try to make test for null sourcefile [Distributed] Try to make test for null sourcefile Jun 26, 2023
@ktoso ktoso merged commit ab126c8 into swiftlang:main Jun 30, 2023
@ktoso ktoso deleted the wip-try-to-make-test branch June 30, 2023 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

distributed Feature → concurrency: distributed actor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants