winddpan / CodableWrapper

@CodingKey("encoder", "decoder") var cool: Bool = true
MIT License
362 stars 30 forks source link

model里面有state,就运行不起来 #23

Closed wscqs closed 9 months ago

wscqs commented 9 months ago

@Codable class BaseModel{ var errorno: Int = -1 var error: String = "" // var state: String?//有state参数就运行不起来 }

winddpan commented 9 months ago

Swift宏的bug,注释不要写到同一行

// 写这里
var state: String?
wscqs commented 9 months ago

来信已经收到。

wscqs commented 9 months ago

真是注释的问题。谢谢,我关闭问题