## Compiler version 3.0.3-RC1-bin-20210715-7899462-NIGHTLY ## Minimized code ```Scala import annotation.experimental @experimental trait Foo val foo = new (Foo @experimental) {} ``` ## Output ```scala -- Error: 3 |val foo = new (Foo @experimental) {} | ^ | extension of experimental trait Foo must have @experimental annotation ``` ## Expectation It should be possible to create an instance of a trait marked as experimental without having to create a helper class like ``` @experimental class Bar extends Foo val bar = new Bar ``` The problem seems to also affect classes with a refinement.