fix calculation of spans in parser (#957)

This commit is contained in:
Islon Scherer
2025-02-15 12:11:55 +01:00
committed by GitHub
parent 350b71a634
commit d270829ed3
30 changed files with 996 additions and 183 deletions
@@ -2,7 +2,7 @@
Expected `output.value` of module `file:///$snippetsDir/input/projects/badPklProject1/PklProject` to be of type `pkl.Project`, but got type `invalid.project.Module`.
x | module invalid.project.Module
^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
at invalid.project.Module (file:///$snippetsDir/input/projects/badPklProject1/PklProject)
Try adding `amends "pkl:Project"` to the module header.