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 {
193193 else
194194 " "
195195
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) """
197198 }
198199
199200 val explanation =
Original file line number Diff line number Diff line change 11scala> val xs = scala.collection.mutable.ListBuffer[Int]
221 | val xs = scala.collection.mutable.ListBuffer[Int]
33 | ^
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)
56scala> val xs = scala.collection.mutable.ListBuffer[Int]()
67val xs: scala.collection.mutable.ListBuffer[Int] = ListBuffer()
You can’t perform that action at this time.
0 commit comments