Skip to content

Picker+Extensions.swift Unexpected ',' seprator #45

@albenac

Description

@albenac

Is this piece of code coorect?

Lines 57-66

public init<
    ValueLabel: View,
    CurrentValueLabel: View
>(
    sources: [SelectionValue],
    selection: Binding<SelectionValue>,
    @ViewBuilder content: (SelectionValue) -> ValueLabel,
    @ViewBuilder label: () -> Label,
    @ViewBuilder currentValueLabel: (SelectionValue) -> CurrentValueLabel,
) where...

Unexpected ',' after CurrentValueLabel.

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