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-9444] Calling .makeIterator() on an Array results in runtime demangle warning #51908

Open
swift-ci opened this issue Dec 8, 2018 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Dec 8, 2018

Previous ID SR-9444
Radar None
Original Reporter theodinspire (JIRA User)
Type Bug

Attachment: Download

Environment

MacBook Pro, Early 2015

macOS Mojave, 10.14.1

XCode 10.0 (10A254a)

Playground

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

md5: 9942cd79bc40d7f9d36f5c13d6491cfe

duplicates:

  • SR-8354 Runtime warning on failure to demangle type

Issue Description:

Running the following code, results in the subsequent errors:

let iterator = ["A", "B", "C", "D"].makeIterator()
let another = [1, 2].makeIterator()
let final = [Double]().makeIterator()
SWIFT RUNTIME BUG: unable to demangle type of field '_position'. mangled type name is '5IndexSlQz'
SWIFT RUNTIME BUG: unable to demangle type of field '_position'. mangled type name is '5IndexSlQz'
SWIFT RUNTIME BUG: unable to demangle type of field '_position'. mangled type name is '5IndexSlQz'
@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
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. standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

1 participant