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-7728] :type lookup Swift aborts the REPL #4369

Closed
lilyball mannequin opened this issue May 19, 2018 · 4 comments
Closed

[SR-7728] :type lookup Swift aborts the REPL #4369

lilyball mannequin opened this issue May 19, 2018 · 4 comments
Assignees

Comments

@lilyball
Copy link
Mannequin

lilyball mannequin commented May 19, 2018

Previous ID SR-7728
Radar rdar://40417941
Original Reporter @lilyball
Type Bug
Status Resolved
Resolution Done
Environment

Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1)
Target: x86_64-apple-darwin17.5.0

Additional Detail from JIRA
Votes 0
Component/s Compiler, LLDB for Swift
Labels Bug, CompilerCrash
Assignee @dcci
Priority Medium

md5: 617afca88c50202d981754eecc688368

Issue Description:

In the REPL, running :type lookup Swift prints a good chunk of the Swift module, then unceremoniously aborts the REPL and leaves me back at the shell, without even printing a error (error code 139). My best guess is there's some declaration in the Swift module that doesn't serialize back to Obj-C Swift properly.

Steps to reproduce:

1. Run swift
2. At the REPL run :type lookup Swift

@belkadan
Copy link

I'm not sure what ObjC has to do with anything, but yes, this should work.

@swift-ci create

@lilyball
Copy link
Mannequin Author

lilyball mannequin commented May 21, 2018

I'm not sure why I said Obj-C (I blame sleep deprivation). I meant some declaration that doesn't serialize back into Swift properly.

@dcci
Copy link
Mannequin

dcci mannequin commented May 22, 2018

apple/swift-lldb#647

@dcci
Copy link
Mannequin

dcci mannequin commented May 22, 2018

Fixed, thanks for your report, Kevin.

@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
Projects
None yet
Development

No branches or pull requests

1 participant