summaryrefslogtreecommitdiff
path: root/test/files/neg/t2462b.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-7848 Xlint no warn on $sym with paramsSom Snytt2013-09-231-4/+1
| | | | | | | | | | | | This idea brought to you by retronym. Also improve implicitNotFound detection at typer; and avoid checking the standard interpolation expression for cases like s"some $$x". Some minor refactorings of implicitNotFound strings. The intersobralator allows extra spaces, i.e., trims.
* forgot to update check file after renaming tests.Adriaan Moors2010-08-211-3/+3
|
* closes 2462. better implicit error messages.Adriaan Moors2010-08-201-0/+14
@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