Skip to content

Commit f6c6e7d

Browse files
committed
Add test case
1 parent 34ee7b1 commit f6c6e7d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/new/semanticdb-extract.scala

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
object A {
2+
3+
def foo(x: Int) = ()
4+
def foo(): Unit = ()
5+
6+
foo(1)
7+
foo()
8+
9+
"".substring(1)
10+
"".substring(1, 2)
11+
12+
List(1, 2)
13+
List.apply()
14+
List.`apply`()
15+
println(1 + 2)
16+
17+
case class Foo(x: Int)
18+
}

0 commit comments

Comments
 (0)