diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-02-24 23:50:34 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-02-25 00:31:18 +0100 |
commit | 94b41d5c491878543288af1bedb4daf57226ca07 (patch) | |
tree | 0a2b6a019415ea3ce35b2eb826161c5aa41c6973 /src/dotty/tools/dotc/reporting/StoreReporter.scala | |
parent | 0eecb7189188e6ce379b8840749abb1e0241035b (diff) | |
download | dotty-94b41d5c491878543288af1bedb4daf57226ca07.tar.gz dotty-94b41d5c491878543288af1bedb4daf57226ca07.tar.bz2 dotty-94b41d5c491878543288af1bedb4daf57226ca07.zip |
Small API changes in preparation for dotty-interfaces
- Rename Diagnostic#msg to message, this is nicer for a public API
- Rename SourceFile#lineContents and SourcePosition#lineContents
to lineContent, the former is not grammatically correct.
- Add some convenience methods to SourcePosition.
Diffstat (limited to 'src/dotty/tools/dotc/reporting/StoreReporter.scala')
-rw-r--r-- | src/dotty/tools/dotc/reporting/StoreReporter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/reporting/StoreReporter.scala b/src/dotty/tools/dotc/reporting/StoreReporter.scala index d19e8cf5c..954bff88e 100644 --- a/src/dotty/tools/dotc/reporting/StoreReporter.scala +++ b/src/dotty/tools/dotc/reporting/StoreReporter.scala @@ -15,7 +15,7 @@ class StoreReporter(outer: Reporter) extends Reporter { private var infos: mutable.ListBuffer[Diagnostic] = null def doReport(d: Diagnostic)(implicit ctx: Context): Unit = { - typr.println(s">>>> StoredError: ${d.msg}") // !!! DEBUG + typr.println(s">>>> StoredError: ${d.message}") // !!! DEBUG if (infos == null) infos = new mutable.ListBuffer infos += d } |