Skip to content

x/build/cmd/watchflakes: fails to parse the "!~" operator #71119

@dmitshur

Description

@dmitshur

Both of these scripts should parse successfully:

default <- pkg == "cmd/go" && output ~ `some regexp`
default <- pkg == "cmd/go" && output !~ `some regexp`

Yet the latter doesn't, producing an "unexpected !" error. See #66337 (comment) and #66337 (comment) for more context.

Metadata

Metadata

Assignees

Labels

BugReportIssues describing a possible bug in the Go implementation.Buildersx/build issues (builders, bots, dashboards)FixPendingIssues that have a fix which has not yet been reviewed or submitted.NeedsFixThe path to resolution is known, but the work has not been done.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions