Skip to content

Conversation

asyncawaited
Copy link

@asyncawaited asyncawaited commented Mar 7, 2025

支持含有未定义枚举的数组。
例如:
enum Status: String {
case a = "a"
case b = "b"
case c = "c"
}

如果
person 结构体有一个此结构体的数组status:[Status]
兼容status = ["a", "b", "d"]的情况,其中“d”并未在enum里面未定义。

支持含有未定义枚举的数组。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants