summaryrefslogtreecommitdiff
path: root/test/files/pos/context.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/context.scala')
-rw-r--r--test/files/pos/context.scala34
1 files changed, 0 insertions, 34 deletions
diff --git a/test/files/pos/context.scala b/test/files/pos/context.scala
deleted file mode 100644
index ada6a57463..0000000000
--- a/test/files/pos/context.scala
+++ /dev/null
@@ -1,34 +0,0 @@
-class Context {
- object symwrap extends SymbolWrapper {
- val context: Context.this.type = Context.this
- }
- object typewrap extends TypeWrapper {
- val context: Context.this.type = Context.this
- }
- object symbols extends symwrap.Symbols;
- object types extends typewrap.Types;
-}
-
-abstract class SymbolWrapper {
- val context: Context;
- import context._;
-
- class Symbols: context.symbols.type {
- abstract class Symbol {
- def typ: types.Type;
- def sym: Symbol = typ.sym;
- }
- }
-}
-
-abstract class TypeWrapper {
- val context: Context;
- import context._;
-
- class Types: context.types.type {
- abstract class Type {
- def sym: symbols.Symbol;
- def typ: Type = sym.typ;
- }
- }
-}