jsonmodel / jsonmodel

Magical Data Modeling Framework for JSON - allows rapid creation of smart data models. You can use it in your iOS, macOS, watchOS and tvOS apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

it's has conflict info when I use breakpoint "po object" in swift closures

bosong opened this issue · comments

it's has conflict info display on lldb when I use "po object" at swift closures breakpoint。
if i rename the protocol name ”Optional“ to other name, it will be ok。

po responseJson

error: :1:11: error: 'Optional' is ambiguous for type lookup in this context
extension Optional where Wrapped: $__lldb_context {
^~~~~~~~

Swift.Optional:1:13: note: found this candidate
public enum Optional : ExpressibleByNilLiteral {
^

JSONModel.Optional:1:17: note: found this candidate
public protocol Optional {
^

error: :19:5: error: value of type 'Optional' has no member '$__lldb_wrapped_expr_17'
$__lldb_injected_self.$__lldb_wrapped_expr_17(