Skip to content

Cannot use mutating member on immutable value #11

@ellyheetov

Description

@ellyheetov
func minArray(_ byteA:[Bool], _ byteB:[Bool]) -> [Bool] {
    return byteA.count < byteB.count ? byteA : byteB
}

해당 함수에서 return한 값을 재 사용할 수 없다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingswift

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions