Repository navigation
Improve source diagnostics and reject recursive inline storage - #986
Merged
Merged
Conversation
… errors Fixes wavefnd#359 Fixes wavefnd#360 Fixes wavefnd#361 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#971 Fixes wavefnd#972 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#973 Fixes wavefnd#974 Fixes wavefnd#975 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#976 Fixes wavefnd#977 Signed-off-by: LunaStev <[email protected]>
…ities Fixes wavefnd#978 Fixes wavefnd#979 Fixes wavefnd#451 Signed-off-by: LunaStev <[email protected]>
… focus Fixes wavefnd#980 Fixes wavefnd#981 Fixes wavefnd#853 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#982 Fixes wavefnd#983 Signed-off-by: LunaStev <[email protected]>
Fixes wavefnd#984 Fixes wavefnd#985 Fixes wavefnd#404 Signed-off-by: LunaStev <[email protected]>
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.
Wave currently loses specific parser failures, sometimes highlights a previous argument or the next declaration, and emits plain text for some AST input failures even in JSON mode. This change preserves the offending source ranges and local explanations, makes CLI/source diagnostic selection consistent, and rejects infinitely sized by-value struct storage before LLVM entry.
Examples: a malformed
var value: = 1;now identifies=as the missing type boundary;input("{} {}", n, 1)identifies1rather thann. Invalid placeholders identify their raw source range even after escapes or Unicode text. Pointer-recursive structs remain accepted.The eight commits contain these bundles:
fn/letmigration help and missing-semicolon boundariesExisting grammar, explicit typing, accepted formatting, import containment and generic instantiation limits are preserved. JSON source coordinates/string values remain unchanged by human terminal escaping. The socket diagnostic derives known native exports from the selected std, so misspelled/private symbols keep ordinary resolution errors. LLVM remains the default; the Whale dependency lock is unchanged.
Validation
Cross-target IR emission is not native execution on those platforms. Native macOS/Windows/FreeBSD validation will run in canonical CI. No native Whale execution or dependency update is introduced.
Related to #346. Broader formatting features in #929 remain outside this change.
Fixes #359
Fixes #360
Fixes #361
Fixes #971
Fixes #972
Fixes #973
Fixes #974
Fixes #975
Fixes #976
Fixes #977
Fixes #978
Fixes #979
Fixes #451
Fixes #980
Fixes #981
Fixes #853
Fixes #982
Fixes #983
Fixes #984
Fixes #985
Fixes #404