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-61] REPL crash on tab completion #4595

Closed
swift-ci opened this issue Dec 5, 2015 · 2 comments
Closed

[SR-61] REPL crash on tab completion #4595

swift-ci opened this issue Dec 5, 2015 · 2 comments
Labels
bug Something isn't working LLDB for Swift

Comments

@swift-ci
Copy link

swift-ci commented Dec 5, 2015

Previous ID SR-61
Radar None
Original Reporter nitingupta (JIRA User)
Type Bug
Status Resolved
Resolution Cannot Reproduce
Environment

Ubuntu 15.10

swift built with preset=buildbot_linux_1510

Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug
Assignee jingham@apple.com (JIRA)
Priority Medium

md5: 53c7f046be30d6711d39c698b7ababc9

is duplicated by:

Issue Description:

in REPL:
for c in "hello".<TAB>
causes a crash

Welcome to Swift version 2.2-dev (LLVM 46be9ff861, Clang 4deb154edc, Swift 408d205). Type :help for assistance.
1> for c in "hello".lldb: /home/ngupta/src/swift/swift/lib/Sema/TypeCheckConstraints.cpp:1246: Optional<swift::Type> swift::TypeChecker::getTypeOfExpressionWithoutApplying(swift::Expr *&, swift::DeclContext *, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener *): Assertion `exprType && !exprType->is<ErrorType>() && "erroneous solution?"' failed.
Aborted (core dumped)

@Dante-Broggi
Copy link

Has this been resolved? If so, it should be marked as such.

@adrian-prantl
Copy link

Please reopen if this is still an issue.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from swiftlang/swift May 7, 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 Something isn't working LLDB for Swift
Projects
None yet
Development

No branches or pull requests

3 participants