Skip to content

Commit 675fcb1

Browse files
committed
Add test case
1 parent 1490c51 commit 675fcb1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/init/pos/patternMatcher.scala

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import scala.collection.mutable
2+
3+
class Translater:
4+
val count = new mutable.HashMap[Int, Int] {
5+
override def default(key: Int) = 0
6+
}
7+
count.get(10)
8+
val n = 10

0 commit comments

Comments
 (0)