Skip to content

Conversation

@nkcsgexi
Copy link
Contributor

rdar://70584224

@nkcsgexi
Copy link
Contributor Author

@swift-ci please test

@nkcsgexi nkcsgexi merged commit fd971ab into swiftlang:main Oct 22, 2020
}

return parentPath.appending(component: moduleName).replacingExtension(with: type)
return parentPath.appending(component: moduleOutputPath.basename).replacingExtension(with: type)
Copy link
Contributor

Choose a reason for hiding this comment

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

This function doesn't need to take moduleName as a parameter anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It still needs moduleName in the last return statement

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh oops, just looked up, thought this was the last one.


func testDeriveSwiftDocPath() throws {
var driver = try Driver(args: [
"swiftc", "-emit-module", "/tmp/main.swift", "-emit-module-path", "test-ios-macabi.swiftmodule"
Copy link
Contributor

Choose a reason for hiding this comment

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

What is module name in this case? main? Just wondering how off it was.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think main will be the default name if not given at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants