summaryrefslogtreecommitdiff
path: root/test/files/pos/context.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2004-08-25 13:46:10 +0000
committerMartin Odersky <odersky@gmail.com>2004-08-25 13:46:10 +0000
commit8da050118d71c78ef3a4f45daef1edd1b65a5e41 (patch)
tree89d00ffab5c10f31bfef57466c5b96f6faee0089 /test/files/pos/context.scala
parentbcde7a440694c3ca30547f3ab35ea199f2b1d9bc (diff)
downloadscala-8da050118d71c78ef3a4f45daef1edd1b65a5e41.tar.gz
scala-8da050118d71c78ef3a4f45daef1edd1b65a5e41.tar.bz2
scala-8da050118d71c78ef3a4f45daef1edd1b65a5e41.zip
*** empty log message ***
Diffstat (limited to 'test/files/pos/context.scala')
-rw-r--r--test/files/pos/context.scala28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/files/pos/context.scala b/test/files/pos/context.scala
index 85145dd735..ada6a57463 100644
--- a/test/files/pos/context.scala
+++ b/test/files/pos/context.scala
@@ -1,34 +1,34 @@
class Context {
- object symswrap extends SymsWrapper {
+ object symwrap extends SymbolWrapper {
val context: Context.this.type = Context.this
}
- object typswrap extends TypsWrapper {
+ object typewrap extends TypeWrapper {
val context: Context.this.type = Context.this
}
- object syms extends symswrap.Syms;
- object typs extends typswrap.Typs;
+ object symbols extends symwrap.Symbols;
+ object types extends typewrap.Types;
}
-abstract class SymsWrapper {
+abstract class SymbolWrapper {
val context: Context;
import context._;
- class Syms: context.syms.type {
- abstract class Sym: context.syms.Sym {
- def typ: typs.Typ;
- def sym: Sym = typ.sym;
+ class Symbols: context.symbols.type {
+ abstract class Symbol {
+ def typ: types.Type;
+ def sym: Symbol = typ.sym;
}
}
}
-abstract class TypsWrapper {
+abstract class TypeWrapper {
val context: Context;
import context._;
- class Typs: context.typs.type {
- abstract class Typ {
- def sym: syms.Sym;
- def typ: Typ = sym.typ;
+ class Types: context.types.type {
+ abstract class Type {
+ def sym: symbols.Symbol;
+ def typ: Type = sym.typ;
}
}
}