ast: Report safety errors on line where expression starts
These changes just update the safety errors to report the line of the expression where the error occurred instead of the rule/query that contains the expressionm. Better locality should make it easier to identify safety error causes. Fixes #1497 Signed-off-by: Torin Sandall <torinsandall@gmail.com>
T
Torin Sandall committed
16197e4b7a6ac7743096463ac21e389fa7594369
Parent: 3f06359
Committed by Patrick East <east.patrick@gmail.com>
on 6/25/2019, 6:36:22 PM