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

ClassfileParser: Avoid cycle when accessing companion in inner class lookup #16882

Merged
merged 1 commit into from
Feb 16, 2023

Commits on Feb 10, 2023

  1. ClassfileParser: Avoid cycle when accessing companion in inner class …

    …lookup
    
    Previously, the call to `info` on the module val could lead to a cycle since the
    module val might be in the process of being completed. This commit fixes this by
    only using the module class which is all we need to lookup members.
    
    Fixes scala#15288.
    Fixes scala#14059.
    
    Co-Authored-By: Tom Grigg <tomegrigg@gmail.com>
    smarter and griggt committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    f77069a View commit details
    Browse the repository at this point in the history