hashicorp / hcl2

Former temporary home for experimental new version of HCL
https://github.com/hashicorp/hcl
Mozilla Public License 2.0
373 stars 66 forks source link

hcled: Introduce ContextDefRange #58

Closed radeksimko closed 5 years ago

radeksimko commented 5 years ago

This can be used for looking up range of block definition so that we can render it alongside attribute-agnostic errors.

I'm willing to add some tests to cover this new functionality and also ContextString, but I'd like to hear whether this is a good idea at all 😃