aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Symbols.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-09-23 12:26:55 +0200
committerMartin Odersky <odersky@gmail.com>2013-09-23 12:28:05 +0200
commitc90e09fc7bd79c3bf9c95ce87f3c11cb3dfd4405 (patch)
tree85ca8768f5d4544bf6c5940393a18abaf90b4a57 /src/dotty/tools/dotc/core/Symbols.scala
parent625d7ad00d43fb77df55c1ace30db1e6ccdf6179 (diff)
downloaddotty-c90e09fc7bd79c3bf9c95ce87f3c11cb3dfd4405.tar.gz
dotty-c90e09fc7bd79c3bf9c95ce87f3c11cb3dfd4405.tar.bz2
dotty-c90e09fc7bd79c3bf9c95ce87f3c11cb3dfd4405.zip
Changed Throwing reporting scheme.
Changed ThrowingReporter to use an underlying reporter for issuing messages below ERROR. Made ThrowingReporters the default in initialContext.
Diffstat (limited to 'src/dotty/tools/dotc/core/Symbols.scala')
-rw-r--r--src/dotty/tools/dotc/core/Symbols.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala
index fe39135d9..d0d517c19 100644
--- a/src/dotty/tools/dotc/core/Symbols.scala
+++ b/src/dotty/tools/dotc/core/Symbols.scala
@@ -368,7 +368,7 @@ object Symbols {
* the class containing this symbol was generated, null if not applicable.
* Overridden in ClassSymbol
*/
- def associatedFile(implicit ctx: Context): AbstractFile =
+ def associatedFile(implicit ctx: Context): AbstractFile =
denot.topLevelClass.symbol.associatedFile
/** The class file from which this class was generated, null if not applicable. */