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-9057] SWIFT RUNTIME BUG: unable to demangle type of field '_transform' #51559

Closed
swift-ci opened this issue Oct 22, 2018 · 3 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-9057
Radar None
Original Reporter jalkut@red-sweater.com (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate
Environment

10.14 (18A391)

Xcode Version 10.0 (10A255)

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

md5: 76b5dc2ad471196ee7a293da3a60672a

duplicates:

  • SR-8354 Runtime warning on failure to demangle type

Issue Description:

It seems that using lazy.map leads to a Swift demangling issue:

SWIFT RUNTIME BUG: unable to demangle type of field '_transform'. mangled type name is 'q_7ElementSTQzc'

Paste into a Playground:

let l = [1, 2, 3, 4, 5]
let a = l.lazy.map { i -> Int in
    return i
}
l

Using l.map instead of l.lazy.map alleviates the error.

@mattneub
Copy link

Funny you should mention this, as I just logged on in order to report SR-9058 which also emits the same kind of error message.

@swift-ci
Copy link
Collaborator Author

Comment by Daniel Jalkut (JIRA)

Ah yes! Funny timing. Seems like they must be related.

@swift-ci
Copy link
Collaborator Author

Comment by Daniel Jalkut (JIRA)

And swiftly being duplicated against SR 8354!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

2 participants