Skip to content

Error using expression inside of array index #146

@anderseknert

Description

@anderseknert

Could be the problem is more generic that this, but the plugin currently flags this line on the -1 location, which should be valid Rego.

is_path(path, x) := path[count(path) - 1] == x

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions