On May 22, 2017, at 08:48 , Peter Hudson <email@hidden> wrote:
When I setup this very simple piece of code in a Playground I get the following error
__lldb_expr_53.Custom3DPoint
The “wrong” kind of quote was just an artifact of pasting into Mail. When I pasted that code into a playground, the compiler politely told me it was the wrong kind of quote, and offered to fix it for me.
The original code, also pasted into a playground on 8.3.2, works just fine.
The log pane (at the bottom) shows the result of printing the struct:
Custom3DPoint(x: 0, y: 0, z: 0, origin: "LUTON”)
The results pane (at the right) shows the result of the “let” statement as:
__lldb_expr_53.Custom3DPoint
which is just the debugger’s name for the struct. Clicking on either of the “reveal” icons at the far right of that icon reveals the components of the struct.
|