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-5572] Interactive CLI REPL not working? #4387

Closed
davezarzycki opened this issue Jul 28, 2017 · 2 comments
Closed

[SR-5572] Interactive CLI REPL not working? #4387

davezarzycki opened this issue Jul 28, 2017 · 2 comments
Labels
bug Something isn't working LLDB for Swift REPL

Comments

@davezarzycki
Copy link
Collaborator

Previous ID SR-5572
Radar rdar://problem/29039602
Original Reporter @davezarzycki
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug, REPL
Assignee None
Priority Medium

md5: a7fa14d4f516979ecbe2926a334f7382

Issue Description:

This seems like a bug. Why does the interactive command line REPL put each input line into separate modules?

Welcome to Apple Swift version 4.0 (swiftlang-900.0.54.10 clang-900.0.31). Type :help for assistance.
1> open class A {}
2> class B : A {}
error: repl.swift:2:7: error: cannot inherit from non-open class 'A' outside of its defining module
class B : A {}
^

2>

@belkadan
Copy link

@slavapestov just fixed this! Got the bug number?

@slavapestov
Copy link
Member

Here is the fix: apple/swift-lldb#244

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 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 REPL
Projects
None yet
Development

No branches or pull requests

3 participants