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-13279] "Symbol in IR file, but not in TBD file" hint not helpful #4519

Open
dhoepfl opened this issue Jul 24, 2020 · 0 comments
Open

[SR-13279] "Symbol in IR file, but not in TBD file" hint not helpful #4519

dhoepfl opened this issue Jul 24, 2020 · 0 comments
Labels

Comments

@dhoepfl
Copy link

dhoepfl commented Jul 24, 2020

Previous ID SR-13279
Radar None
Original Reporter @dhoepfl
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 8306605c722a687e9d8766340bd9765f

Issue Description:

The hint given here:

me@debian:~/swift> swift build
<unknown>:0: error: symbol '$s3Bug3XXXC1a1bACSgSS_SStcipfA0_' (default argument 1 of Bug.XXX.subscript(a: Swift.String, b: Swift.String) -> Swift.Optional<Bug.XXX>) is in generated IR file, but not in TBD file
<unknown>:0: error: please file a radar or open a bug on bugs.swift.org with this code, and add -Xfrontend -validate-tbd-against-ir=none to squash the errors

is not helpful:

me@debian:~/swift> swift build -Xfrontend -validate-tbd-against-ir=none
error: unknown option -Xfrontend; use --help to list available options
me@debian:~/swift> swift build -validate-tbd-against-ir=none
error: unknown option -validate-tbd-against-ir; use --help to list available options
@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants