Skip to content

编译出错 #10

Description

@flymyd

Swift编译器在此处报错:
/PrincessGuide-master/PrincessGuide/Model/Action/ChangeEnergyRatioAction.swift:18:26: Type of expression is ambiguous without more context

报错行具体代码为:
children.map(.parameter.id).map { String($0 % 10) }.joined(separator: ", "),

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions