Skip to content
This repository was archived by the owner on Aug 23, 2026. It is now read-only.
This repository was archived by the owner on Aug 23, 2026. It is now read-only.

topiary errors on optional parameter that starts with $ #8

Description

@maxim-uvarov

Here is some minor edge case. I'm reporting this just in case you find it important.

> r#'def 'test' [$a?] {$a}'# | save optional.nu -f


> topiary format optional.nu
[2025-02-27T03:04:53Z ERROR topiary] Parsing error between line 1, column 15 and line 1, column 16
# but this works
> r#'def 'test' [a?] {$a}'# | save optional.nu -f

Please, feel free to close without resolution 🙏

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