We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1490c51 commit 675fcb1Copy full SHA for 675fcb1
tests/init/pos/patternMatcher.scala
@@ -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