Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SI-7848 Xlint no warn on $sym with params | Som Snytt | 2013-09-23 | 1 | -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 Moors | 2010-08-21 | 1 | -3/+3 |
| | |||||
* | closes 2462. better implicit error messages. | Adriaan Moors | 2010-08-20 | 1 | -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 |