Skip to content

Better error handling in "str" quasiquoter #1823

@harendra-kumar

Description

@harendra-kumar

Unterminated interpolation is not detected and reported:

                        [str|sudo #{nixDefaultProfile/bin/usermod
                            -p '*' #{loginId}|]

The above leads to a run time error:

sudo: #{nixDefaultProfile/bin/usermod: command not found

Instead we should report an error ar compile time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions