Skip to content

Error with at-pattern and optional params #334

@lucabrunox

Description

@lucabrunox
$ echo 'let f = o@{x ? "x"}: o.x; in f {}'|nix-instantiate -
error: attribute `x' missing, at (string):1:20

It only happens with optional parameters.

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