[#620] | project: compiler | priority: low | category: feature | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Sean | Martin | _ | 2006-06-02 16:48:16.0 | |
subject | Improved error messages | |||
code |
Using my last bug report as an example. |
|||
what happened | Severity and De5cr1p7-haX0Rion Path Resource Location Creation Time Id ambiguous implicit value: both value txt of type test.Context and method txt0 in object bar of type => test.Context match expected type test.Context test/src/test Test.scala line 17 1149259351511 41763Messages doesn't work well in the IDE (too verbose, doesn't take advantage of IDE markers) |
|||
what expected | (1) Summary description of each error that doesn't mention context information (2) list of context information containing each separate tree involved in the error, trees should be identified directly (rather than translated into strings) so that we can create IDE markers at their locations. As an example, the above error would be associated with three markers (one for each ambiguous implicit parameter, and one at the point where the ambiguity is detected). Incidently, even on the command line, we should be providing more location information for trees mentioned in an error message. (3) Need to know the extent of the error (the true begin and end position of the tree). |
|||
[back to overview] |
Sean edited on 2006-06-02 16:48:27.0 |
edited on 2006-06-02 16:49:23.0 |