Skip to content

Changing class parameters doesnt recompile dependent code #6112

@sake92

Description

@sake92

Describe the bug

I got an interesting error in VSCode+Metals.
Project is using scala 3.3.1 and Mill.
If I add/remove class parameters, the code that is calling it still compiles..

Seems like with 2.13 it works fine, not sure if it is Mill, Metals or Zinc issue.. :/

Repro: https://github.com/sake92/metals-mill-scala3-class-params-repro

Expected behavior

Code doesnt compile after updating parameters

Operating system

Windows

Editor/Extension

VS Code

Version of Metals

1.2.1

Extra context or search terms

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that is making a piece of functionality unusableupstream-fix-neededWaiting on a fix upstream

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions