Skip to content
New issue

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

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

Already on GitHub? # to your account

Avoid spurious deprecation warnings in generated code (Backport #3379) #3400

Merged
merged 1 commit into from
Aug 20, 2024

Commits on Aug 20, 2024

  1. Avoid spurious deprecation warnings in generated code (Backport com-l…

    …ihaoyi#3379)
    
    Fixes com-lihaoyi#3371
    
    The direct problem is that we are generating code with resolved type
    aliases, resulting in the `JavaTests` aliases being resolved to
    deprecated `JavaModuleTests` traits. However, in general generated code
    should probably not display warnings at all, so better to just slap
    `@nowarn` on the whole chunk rather than trying to fix the immediate
    alias resolution problem
    lihaoyi authored and lolgab committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    50440a2 View commit details
    Browse the repository at this point in the history