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-3393] assertion failure during autocomplete #4647

Open
swift-ci opened this issue Dec 11, 2016 · 0 comments
Open

[SR-3393] assertion failure during autocomplete #4647

swift-ci opened this issue Dec 11, 2016 · 0 comments

Comments

@swift-ci
Copy link

Previous ID SR-3393
Radar None
Original Reporter mgritter (JIRA User)
Type Bug
Environment

Swift version 3.0.1 (swift-3.0.1-RELEASE)
Target: x86_64-unknown-linux-gnu
Ubuntu 16.04.1

Additional Detail from JIRA
Votes 0
Component/s CodeCompletion, LLDB for Swift
Labels Bug, CompilerCrash, Linux, REPL
Assignee None
Priority Medium

md5: c836560b86f8334f556345cc216c57cb

Issue Description:

Hitting 'tab' to autocomplete in the REPL environment produced an assertion error after I had filled in the first argument to String.insert. I was hoping that I would get a list of argument labels.

1> var y = ["a", "b", "c"]
y: [String] = 3 values {
[0] = "a"
[1] = "b"
[2] = "c"
}
2> y.insert( "quux", lldb: /home/buildnode/disk2/workspace/oss-swift-3.0-package-linux-ubuntu-16_04/swift/lib/AST/Type.cpp:862: SmallVector<swift::CallArgParam, 4> swift::decomposeArgType(swift::Type, ArrayRef<swift::Identifier>): Assertion `argumentLabels.size() == 1' failed.
Aborted (core dumped)

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant