From 65bf9178c4c3d92cb9e498d09587e45c14eba594 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 29 Aug 2011 12:45:19 +0000 Subject: More changes to get Reflect compiler working. --- src/compiler/scala/reflect/internal/SymbolTable.scala | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/compiler/scala/reflect/internal/SymbolTable.scala') 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 . is not found. + * This is overridden by the reflection compiler to make up a package + * when it makes sense (i.e. is a package and 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. -- cgit v1.2.3