summaryrefslogtreecommitdiff
path: root/sources/scalac/symtab/SourceCompleter.java
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-04-14 13:31:35 +0000
committerpaltherr <paltherr@epfl.ch>2004-04-14 13:31:35 +0000
commit3ec2af254866c60389b3fd304c14d1137b9cf4c8 (patch)
treec4cb09396b20ca0a2412930c891cee3566c7a2c6 /sources/scalac/symtab/SourceCompleter.java
parentfbd9b93cc4f10e90da94d963f3e052803e93acfd (diff)
downloadscala-3ec2af254866c60389b3fd304c14d1137b9cf4c8.tar.gz
scala-3ec2af254866c60389b3fd304c14d1137b9cf4c8.tar.bz2
scala-3ec2af254866c60389b3fd304c14d1137b9cf4c8.zip
- Replaced Symbol.module by Symbol.sourceModule
- Made Symbol.linkedModule and Symbol.linkedClass a bit less ambiguous - Added documentation to Symbol.sourceModule and Symbol.linkedModule - Added classes ConstructorSymbol, ModuleSymbol ModuleClassSymbol - Added classes LinkedModuleSymbol and LinkedClassSymbol - Changed the argument order in symbol constructors to be the same as in the symbol factories - Changed Pickle to use sourceModule instead of HashTable - Replaced notion of main class by notion of root symbol in SymbolLoader - Fixed UnPickle to work with any root symbol
Diffstat (limited to 'sources/scalac/symtab/SourceCompleter.java')
-rw-r--r--sources/scalac/symtab/SourceCompleter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/SourceCompleter.java b/sources/scalac/symtab/SourceCompleter.java
index fa6157ea14..73596724bd 100644
--- a/sources/scalac/symtab/SourceCompleter.java
+++ b/sources/scalac/symtab/SourceCompleter.java
@@ -37,7 +37,7 @@ public class SourceCompleter extends SymbolLoader {
// Protected Methods
/** Completes the specified symbol by reading the source file. */
- protected String doComplete(Symbol clasz) throws IOException {
+ protected String doComplete(Symbol root) throws IOException {
global.compileLate(global.getSourceFile(file), false);
return "source file '" + file + "'";
}