diff --git a/tests/semanticdb/expect/StructuralTypes.expect.scala b/tests/semanticdb/expect/StructuralTypes.expect.scala index 96c7181d6f10..98aaca95f880 100644 --- a/tests/semanticdb/expect/StructuralTypes.expect.scala +++ b/tests/semanticdb/expect/StructuralTypes.expect.scala @@ -16,7 +16,7 @@ object StructuralTypes/*<-example::StructuralTypes.*/: val V/*<-example::StructuralTypes.V.*/: Object/*->java::lang::Object#*/ { def scalameta/*<-local4*/: String/*->scala::Predef.String#*/ - } = /*<-local6*/new: - def scalameta/*<-local5*/ = "4.0" + } = new: + /*<-local6*/def scalameta/*<-local5*/ = "4.0" V/*->example::StructuralTypes.V.*/.scalameta/*->scala::reflect::Selectable#selectDynamic().*/ end StructuralTypes/*->example::StructuralTypes.*/ \ No newline at end of file diff --git a/tests/semanticdb/metac.expect b/tests/semanticdb/metac.expect index e05a645c0141..00aa8673f015 100644 --- a/tests/semanticdb/metac.expect +++ b/tests/semanticdb/metac.expect @@ -3472,7 +3472,7 @@ Occurrences: [16:9..16:15): Object -> java/lang/Object# [17:8..17:17): scalameta <- local4 [17:19..17:25): String -> scala/Predef.String# -[18:6..18:6): <- local6 +[19:4..19:4): <- local6 [19:8..19:17): scalameta <- local5 [20:2..20:3): V -> example/StructuralTypes.V. [20:4..20:13): scalameta -> scala/reflect/Selectable#selectDynamic().