Skip to content

Macro usage is not invalidated #23852

@OlegYch

Description

@OlegYch

Compiler version

3.0.0 - 3.7.1

Minimized code

https://github.com/OlegYch/scala3-macro-undercompilation
this calls a constructor from macro, and when constructor is removed the code is not recompiled

Output

java.lang.NoSuchMethodError: Dep: method 'void <init>()' not found

Expectation

code is recompiled and sees a new constructor signature

Metadata

Metadata

Assignees

Labels

area:metaprogramming:otherIssues tied to metaprogramming/macros not covered by the other labels.itype:bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions