Skip to content

incorrect well-formedness error on valid rego code #124

@anakrish

Description

@anakrish
package test

x := 1 == {"a": 1}.a

results in

errors:
---
error: Invalid key/value pair
code: wellformed_error
(errorast
  (object-item
    (group
      (STRING 3:"a"))
    (group
      (INT 1:1))))

Metadata

Metadata

Assignees

No one assigned

    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