File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/dotty/tools/dotc/reporting/diagnostic Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,8 @@ object messages {
193
193
else
194
194
" "
195
195
196
- i " missing parameter type for parameter ${param.name}$ofFun, expected = $pt"
196
+ i """ missing parameter type for parameter ${param.name}$ofFun, expected = $pt
197
+ |The argument types of an anonymous function must be fully known. (SLS 8.5) """
197
198
}
198
199
199
200
val explanation =
Original file line number Diff line number Diff line change 1
1
scala> val xs = scala.collection.mutable.ListBuffer[Int]
2
2
1 | val xs = scala.collection.mutable.ListBuffer[Int]
3
3
| ^
4
- | missing parameter type for parameter elems, expected = ?
4
+ |missing parameter type for parameter elems, expected = ?
5
+ |The argument types of an anonymous function must be fully known. (SLS 8.5)
5
6
scala> val xs = scala.collection.mutable.ListBuffer[Int]()
6
7
val xs: scala.collection.mutable.ListBuffer[Int] = ListBuffer()
You can’t perform that action at this time.
0 commit comments