Commit Graph

7 Commits

Author SHA1 Message Date
Qi Xiao
6daca30365 Implement Ranger for *diag.SourceRange and *eval.CompilationError. 2018-11-20 23:22:51 +00:00
Qi Xiao
73cdd67df1 diag: Fix a godoc. 2018-10-13 16:56:56 +01:00
Qi Xiao
24e0449318 s/Pprint/PPrint/ everywhere. 2018-10-13 16:51:00 +01:00
Qi Xiao
ad1a28adf0 diag: Fix test. 2018-10-13 16:47:49 +01:00
Qi Xiao
1d414d4a89 diag: Fix a godoc, and unexport some variables. 2018-10-13 16:46:41 +01:00
Qi Xiao
15dd028dcb Introduce diag.Ranger and diag.Ranging for expressing ranges.
The parse.node type implements Ranger.
2018-10-13 14:04:13 +01:00
Qi Xiao
fb80862ec4 Add a new package diag for diagnostic utils. 2018-10-11 00:20:32 +08:00