Skip to content
Snippets Groups Projects
Commit fa6b8287 authored by Fabricio de Sousa Nascimento's avatar Fabricio de Sousa Nascimento
Browse files

compiler: Fix emitting a confusing error for non visible class method

Changes the error message when trying to lookup names on GRE that
`must_have_parent` but we get an `AmbiguousOccurrence`. The new
behavior now points the user to the missing name, instead of the
name clash which would be unhelpful in solving their compiling issue.

Fixes #24452
parent 700eeab9
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment