$ go run main.go
Checking file: main.tf
main.tf:3,34-11,34
ERR: main.tf: position 1,1 is out of range main.tf:3,34-11,34
Checking file: main2.tf
main2.tf:1,1-9,10
When the file starts with a multiline comment, the SrcRange
of the hclsyntax.Body
starts at line 3
instead of line 1
.