Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-1224] [SwiftPM] [swift-build] Invalid module name error #5459

Closed
swift-ci opened this issue Apr 14, 2016 · 1 comment
Closed

[SR-1224] [SwiftPM] [swift-build] Invalid module name error #5459

swift-ci opened this issue Apr 14, 2016 · 1 comment

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-1224
Radar None
Original Reporter Martha (JIRA User)
Type Improvement
Status Resolved
Resolution Done
Environment
  • swift-DEVELOPMENT-SNAPSHOT-2016-04-12-a.xctoolchain

  • OS X 10.11.4

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Improvement
Assignee kkoval (JIRA)
Priority Medium

md5: a438902784a586bf59190812c9262c08

Issue Description:

  1. Run $ swift build --init library in "20160412" directory.

  2. Run $ swift build.

  3. The following error has occured.

    fatal error: Invalid module name: file /Users/buildnode/jenkins/workspace/oss-swift-package-osx/swiftpm/Sources/PackageType/c99name().swift, line 202

    It occurs when package's name or module's name consists of figures only.

Even if I miss a naming rule for Swift 3.0, I think this error should been prevented when running $ swift build --init.

For your information, it's not necessary for me to support a name consisted of figures only. I just tried.

@mxcl
Copy link
Contributor

mxcl commented Apr 18, 2016

Better error messages merged.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
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

No branches or pull requests

2 participants