Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Oops, the implicit not found message was wrong: | Paul Phillips | 2011-01-10 | 1 | -1/+1 |
| | | | | | | | | | | | scala> implicitly[CanBuildFrom[String, Int, List[List[Int]]]] <console>:10: error: Cannot construct a collection of type List[List[Int]] with elements of type Int based on a collection of type List[List[Int]]. implicitly[CanBuildFrom[String, Int, List[List[Int]]]] ^ No review. | ||||
* | forgot to update check file after renaming tests. | Adriaan Moors | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | closes 2462. better implicit error messages. | Adriaan Moors | 2010-08-20 | 1 | -0/+4 |
@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 |