Skip to content
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

计算属性? #2

Open
xiaosao6 opened this issue Dec 2, 2018 · 1 comment
Open

计算属性? #2

xiaosao6 opened this issue Dec 2, 2018 · 1 comment

Comments

@xiaosao6
Copy link

xiaosao6 commented Dec 2, 2018

直接用 var auto: Double {get} 是不是就不用写auto后的括号了?

@lixiang1994
Copy link
Owner

泛型没法用属性支持的

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

No branches or pull requests

2 participants