Skip to content

test(definition): expose Not_found for nullary exception - #2032

Open
rgrinberg wants to merge 1 commit into
masterfrom
push-rkrpznlqppkm
Open

test(definition): expose Not_found for nullary exception#2032
rgrinberg wants to merge 1 commit into
masterfrom
push-rkrpznlqppkm

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Adds a regression test for go-to-definition on a nullary exception used as a structure expression:

exception E
E

A definition request on the second E currently leaks Not_found from Merlin_analysis.Locate.find_definition_uid as JSON-RPC InternalError. The test censors the unstable backtrace and otherwise snapshots the error unchanged.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg

Copy link
Copy Markdown
Member Author

Seems like a merlin issue @voodoos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant