-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build fail, When a model has a property named type #22
Comments
What is your Xcode and Swift version? I will try a test. |
Xcode 15.2 Swift 5.9 |
My environment is the same, but I can't reproduce this issue, can you provide a MVP demo? |
ok |
fixed in 1.0.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduce sample code:
@codable
class Foo: Codable {
var bar: String? = ""
var type: String = ""
}
when build xcode error message:
Use of 'type' refers to instance method rather than global function 'type(of:)' in module 'Swift'
The text was updated successfully, but these errors were encountered: