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

왜 getter가 인라인 함수인데 프로퍼티를 인라인 된 것으로 인식하는 것일까 #21

Open
isprogrammingfun opened this issue Apr 12, 2024 · 1 comment

Comments

@isprogrammingfun
Copy link
Member

var fullName
inline get() ="$firstName$familyName"
set(value) {field = value}

위에 코드에서
Inline property cannot have backing field 에러가 발생

@isprogrammingfun isprogrammingfun changed the title 왜 인라인된 프로퍼티는 뒷받침하는 필드를 가질 수 없는걸까? 왜 getter가 인라인 함수인데 프로퍼티를 인라인 된 것으로 인식하는 것일까 Apr 12, 2024
@tlarbals824
Copy link
Member

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