Branch: refs/heads/main
Revision: 487f4c21aac2ebf391939f4fc53e667e76035fe8
Author: jabraham17
Link: Improve several throwing related dyno errors by jabraham17 · Pull Request #28711 · chapel-lang/chapel · GitHub
Log Message:
Improve several throwing related dyno errors (#28711)
Improves several throwing related errors in dyno to have custom error
classes. This allows the error to be more specific, take advantage of
detailed-errors, provide more context to the user, and renders much
nicer in the editor via CLS (the original motivation)
- paratest
[Reviewed by @DanilaFe]
Diff:
M frontend/include/chpl/resolution/resolution-error-classes-list.h
M frontend/lib/resolution/resolution-error-classes-list.cpp
M frontend/lib/resolution/resolution-queries.cpp
M frontend/lib/resolution/try-catch-analysis.cpp
M frontend/test/resolution/testCatch.cpp
A test/errors/resolution/throwInNonThrowNonThrows.1.good
A test/errors/resolution/throwInNonThrowNonThrows.2.good
A test/errors/resolution/throwInNonThrowNonThrows.chpl
A test/errors/resolution/throwInNonThrowNonThrowsMod.1.good
A test/errors/resolution/throwInNonThrowNonThrowsMod.2.good
A test/errors/resolution/throwInNonThrowNonThrowsMod.chpl
A test/errors/resolution/throwInNonThrowRelaxed.1.good
A test/errors/resolution/throwInNonThrowRelaxed.2.good
A test/errors/resolution/throwInNonThrowRelaxed.chpl
A test/errors/resolution/throwInNonThrowRelaxedMod.1.good
A test/errors/resolution/throwInNonThrowRelaxedMod.2.good
A test/errors/resolution/throwInNonThrowRelaxedMod.chpl
A test/errors/resolution/throwNoTryStrict.1.good
A test/errors/resolution/throwNoTryStrict.2.good
A test/errors/resolution/throwNoTryStrict.chpl
A test/errors/resolution/throwNonThrowing.1.good
A test/errors/resolution/throwNonThrowing.2.good
A test/errors/resolution/throwNonThrowing.chpl
A test/errors/resolution/throwUnhandledTry.1.good
A test/errors/resolution/throwUnhandledTry.2.good
A test/errors/resolution/throwUnhandledTry.chpl
https://github.com/chapel-lang/chapel/pull/28711.diff