Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dyno error for variable without init/type, split-init error notes #27038

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arezaii
Copy link
Collaborator

@arezaii arezaii commented Apr 2, 2025

This converts some parts of dyno's NoMatchingCandidates error to mention bad split-init as the cause in the summary view of the error, instead of only in the details.

This also adds a new error when a variable has no type or init component.

@arezaii
Copy link
Collaborator Author

arezaii commented Apr 2, 2025

I ran the suite of spec tests against this and found no changes to which tests passed or failed compared to main.

Test Failures
[Error matching compiler output for release/examples/primers/LinearAlgebralib]
[Error matching compiler output for release/examples/primers/arrays]
[Error matching compiler output for release/examples/primers/associative]
[Error matching compiler output for release/examples/primers/distributions]
[Error matching compiler output for release/examples/primers/domains]
[Error matching compiler output for release/examples/primers/fileIO]
[Error matching compiler output for release/examples/primers/interopWithC]
[Error matching compiler output for release/examples/primers/learnChapelInYMinutes]
[Error matching compiler output for release/examples/primers/loops]
[Error matching compiler output for release/examples/primers/procedures]
[Error matching compiler output for release/examples/primers/reductions]
[Error matching compiler output for release/examples/primers/replicated]
[Error matching compiler output for release/examples/primers/slices]
[Error matching compiler output for release/examples/primers/sparse]
[Error matching compiler output for release/examples/primers/specialMethods]
[Error matching compiler output for release/examples/primers/timers]
[Error matching compiler output for release/examples/primers/chplvis/chplvis2]
[Error matching compiler output for release/examples/primers/chplvis/chplvis3]
[Error matching compiler output for release/examples/primers/chplvis/chplvis4]
[Error matching compiler output for release/examples/spec/Arrays/adecl-assocLiteral]
[Error matching compiler output for release/examples/spec/Arrays/slicing]
[Error matching compiler output for release/examples/spec/Classes/fieldsOutOfOrder]
[Error matching compiler output for release/examples/spec/Classes/usedBeforeInitialized]
[Error matching compiler output for release/examples/spec/Generics/compilerDiagnostics]
[Error matching compiler output for release/examples/spec/Generics/partially-concrete-tuple-ambiguity]
[Error matching compiler output for release/examples/spec/Modules/ambiguity]
[Error matching compiler output for release/examples/spec/Tuples/aliasing]
[Error matching compiler output for release/examples/spec/Tuples/omit-component]
[Error matching compiler output for release/examples/spec/Variables/no-split-init]

@arezaii arezaii force-pushed the dyno-use-before-init branch from e39107e to fdec149 Compare April 3, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant