blob: 34d4ebde316fc29b464dec25a9f900737e70e570 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
t5120.scala:11: error: type mismatch;
found : Object
required: _1
List(str, other) foreach (_.x1 = new AnyRef)
^
t5120.scala:25: error: type mismatch;
found : Thread
required: h.T
(which expands to) _2
List(str, num).foreach(h => h.f1 = new Thread())
^
two errors found
|