Show source names in diagnostics

This commit is contained in:
2026-06-22 18:05:26 +09:00
parent cc5ab63922
commit a2a6dee025
6 changed files with 113 additions and 54 deletions
@@ -20,6 +20,7 @@ DiagnosticLabel {
```
`span` は primary location を示す。
表示時には `Span.source` を source id のまま出すのではなく、可能な限り file path や virtual file name に解決する。
`labels` は同じ error に関係する追加 location を示す。
合成や materialize の失敗では、衝突した constraint、value、default、または処理中 field path を label に含める。