Files
releases/ast
Torin Sandall f37dcea08f ast: Check for undefined functions before safety check
Previously, references to undefined functions were caught after the
safety check ran. As a result, if the function call contained one or
more unsafe variables, the compiler would report safety errors instead
of undefined function errors. This would hide the source of the
problem and result in confusion. For example, before:

> data.deadbeef(x)
1 error occurred: 1:1: rego_unsafe_var_error: var x is unsafe

After:

> data.deadbeef(x)
1 error occurred: 1:1: rego_type_error: undefined function data.deadbeef

Fixes #1141

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
2019-09-20 11:25:19 -04:00
..
2019-02-15 08:00:22 -08:00
2019-05-18 21:27:32 -07:00
2018-02-17 08:21:04 -08:00
2019-09-09 10:56:00 -04:00
2019-07-19 13:46:23 -07:00
2018-01-28 10:33:39 -08:00
2018-01-28 10:33:39 -08:00
2018-02-09 16:38:34 -08:00
2018-06-05 09:50:13 -07:00
2019-05-18 21:27:32 -07:00
2019-05-18 21:27:32 -07:00