Skip to content

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

@isprogrammingfun

Description

@isprogrammingfun

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions