Repository navigation
backend_v: build on current V master - #138
Merged
Merged
Conversation
Newer V (e.g. 6cce632) rejects `n.value in map[u32]bool` and moved struct literal and cast type text out of `value` into `source_value`. Look up anon struct types by source_type_id and read node text through value_text() so graphify builds and extracts on current V master. Co-Authored-By: WOZCODE <contact@withwoz.com>
vlang/v master (080c153) builds graphify and passes its tests with the flat source_value API, and vlang/vc now has a snapshot for it (0a3c639). The pins were set while V's newest commit broke the build; per the comment above, empty them once a later commit builds. Co-Authored-By: WOZCODE <contact@withwoz.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current V master rejects
n.value in map[u32]boolin backend_v.v:136, so the scheduled graph rebuild fails withbuilding graphify.exe failed.The fix: anon struct lookups use
flat.source_type_id(...), and node text is read throughvalue_text()because V moved literal and cast type text intosource_value.Validation (V 0.5.2 6cce632 and 080c153):
v -o ... cmd/cliexit 0v -o ... cmd/mcpexit 0v test .2 passed / 2Review: full read of backend_v.v (3,442 lines); detectors run. Lenient-parse flag at line 2426 is a false positive (digit guard above it); unbounded-accumulator and unsafe-block flags are pre-existing, not in this diff.
🧙 Built with WOZCODE