Skip to content

[SR-155] REPL: Summary string not being displayed for all struct names #4552

Closed
@swift-ci

Description

@swift-ci
Previous ID SR-155
Radar None
Original Reporter MatiMax (JIRA User)
Type Bug
Status Closed
Resolution Done
Environment

Linux 4.2.0-18-generic #22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug, Linux, REPL
Assignee granataenrico (JIRA)
Priority Medium

md5: 8bd91f558571b08051eea978d5766f67

Issue Description:

While in the Swift REPL defining a struct and creating a new value the evaluation of the value results in an error.

1> struct Point {
2.    var x: Float, y: Float 
3.    var d: Float { return y - x } 
4. }
5> var p = Point(x: -2.0, y: 3.0)
p: Point = error: summary string parsing error
6> print(p)
Point(x: -2.0, y: 3.0)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions