summaryrefslogtreecommitdiff
path: root/test/files/neg/t2462a.scala
Commit message (Collapse)AuthorAgeFilesLines
* closes 2462. better implicit error messages.Adriaan Moors2010-08-201-0/+3
@implicitNotFound(msg="Custom error message that may refer to type parameters ${T} and ${U}") trait Constraint[T, U] whenever an implicit argument of type Constraint[A, B] cannot be found, the custom error message will be used, where the type arguments are interpolated in the obvious way note: if the msg in the annotation references non-existing type params, a warning is emitted the patch also cleans up annotation argument retrieval (moved it to AnnotationInfo from Symbol) review by odersky