Files
releases/cmd
Stephan Renatus 8dc77efc73 format,eval: don't use source locations when formatting PE output (#4611)
* format: allow ignoreing source locations
* cmd/eval: format disregarding source locations for partial result

Before, we'd see this output:
```
$ opa eval -p -fsource 'time.clock(input.x)==time.clock(input.y)'
# Query 1
time.clock(time.clock(input.x), input.y)
```

Now, we get the proper answer: `time.clock(input.y, time.clock(input.x))`.

Note that it's a _display_ issue; the JSON output of PE has not been affected.

Fixes #4609.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2022-04-26 13:25:33 +02:00
..
2017-03-12 12:04:35 -07:00
2016-08-02 16:57:15 -07:00
2022-01-19 13:00:09 +01:00
2021-12-22 17:46:37 +01:00
2021-12-22 17:46:37 +01:00
2022-01-19 13:00:09 +01:00
2022-01-19 13:00:09 +01:00