Skip to content

expr: Have the path() constructor return unresolved[path] when validating for the host context #377

Description

@mwiebe

Description

In #373 (comment), it notes that when validating host-context expressions, the path format may be different from where it eventually runs. This can cause incorrect validation if we actually look at the path separators, for example.

Solution

If we change the path construction within expressions to return unresolved[path] whenever evaluating expressions before we know the OS, we can avoid that problem.l

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

    maintenanceChanges to builds, tests, processes, or code that does not directly affect functionalityneeds triageA new issue that needs a first look

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions