summaryrefslogtreecommitdiff
path: root/src/compiler/scala/reflect/internal/SymbolTable.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2011-08-29 12:45:19 +0000
committerMartin Odersky <odersky@gmail.com>2011-08-29 12:45:19 +0000
commit65bf9178c4c3d92cb9e498d09587e45c14eba594 (patch)
tree16d7a2fef02bf3b11bd3eb6a3fc162016ffce195 /src/compiler/scala/reflect/internal/SymbolTable.scala
parent6f881202be35c7d08ca73054594618cef19d8938 (diff)
downloadscala-65bf9178c4c3d92cb9e498d09587e45c14eba594.tar.gz
scala-65bf9178c4c3d92cb9e498d09587e45c14eba594.tar.bz2
scala-65bf9178c4c3d92cb9e498d09587e45c14eba594.zip
More changes to get Reflect compiler working.
Diffstat (limited to 'src/compiler/scala/reflect/internal/SymbolTable.scala')
-rw-r--r--src/compiler/scala/reflect/internal/SymbolTable.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/scala/reflect/internal/SymbolTable.scala b/src/compiler/scala/reflect/internal/SymbolTable.scala
index 9ba47c2d8b..0ddfc2df50 100644
--- a/src/compiler/scala/reflect/internal/SymbolTable.scala
+++ b/src/compiler/scala/reflect/internal/SymbolTable.scala
@@ -41,6 +41,12 @@ abstract class SymbolTable extends api.Universe
/** Are we compiling for .NET? */
def forMSIL: Boolean = false
+ /** A last effort if symbol in a select <owner>.<name> is not found.
+ * This is overridden by the reflection compiler to make up a package
+ * when it makes sense (i.e. <owner> is a package and <name> is a term name).
+ */
+ def missingHook(owner: Symbol, name: Name): Symbol = NoSymbol
+
/** A period is an ordinal number for a phase in a run.
* Phases in later runs have higher periods than phases in earlier runs.
* Later phases have higher periods than earlier phases in the same run.