Report class and base facts from the stock observer
For each call whose result is a class type, the observer records the class name span and its direct bases (bounded, deduplicated by uid). The corpus verifier validates the new types array, and the occurrence decoder binds each reference to its captured snapshot through the negotiated encoding, rejecting uncaptured or malformed entries. A registered decoder case covers the new field. LSP type-hierarchy handlers remain open.
This commit is contained in:
1 parent
3344a9f170
commit
b1c8a4a625
6 files changed
+240
-4
No files matched your search
@@ -79,6 +79,21 @@ the upgraded snapshot (keeping `snapshot.prev.json`) and rewrites a legacy
|
||||
about 25-30s in a Debug build (it passed VBS at ~27s); the full CMake run then
|
||||
passed 18/18.
|
||||
|
||||
## December 5 observer-reported type hierarchy facts
|
||||
|
||||
The stock observer now records, for each call whose result is a class type, the
|
||||
class name span and its direct base classes (`types` in the report, bounded to
|
||||
256 types and 16 bases, deduplicated by type uid). The corpus verifier validates
|
||||
the shape, and the occurrence decoder binds each reference to its captured
|
||||
snapshot through the negotiated encoding, rejecting uncaptured or malformed
|
||||
entries (registered `vls_diagnostic_tests` case
|
||||
`type_entry_without_bases_decodes`). A real fixture reported
|
||||
`Derived` at 2:8 with base `Base` at 1:8.
|
||||
|
||||
The LSP handlers (`prepareTypeHierarchy`, `supertypes`, `subtypes`) are not
|
||||
wired yet; they need the occurrence-to-type link and retained per-entry types.
|
||||
All 18 native suites and all 18 CMake tests passed.
|
||||
|
||||
## December 5 formatting through clang-format
|
||||
|
||||
Per the user's decision, `textDocument/formatting` runs clang-format as a
|
||||
|
||||
Reference in new issue
Block a user