From e528160f31fec9bcd6c2230455a0ad2ce8250a89 Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Tue, 29 Nov 2005 09:07:02 +0000 Subject: *** empty log message *** --- test-nsc/files/run/ctor-order.check | 1 + test-nsc/files/run/ctor-order.scala | 2 ++ 2 files changed, 3 insertions(+) (limited to 'test-nsc') diff --git a/test-nsc/files/run/ctor-order.check b/test-nsc/files/run/ctor-order.check index f599e28b8a..b2f7f08c17 100644 --- a/test-nsc/files/run/ctor-order.check +++ b/test-nsc/files/run/ctor-order.check @@ -1 +1,2 @@ 10 +10 diff --git a/test-nsc/files/run/ctor-order.scala b/test-nsc/files/run/ctor-order.scala index b21ae27658..73c1a08164 100644 --- a/test-nsc/files/run/ctor-order.scala +++ b/test-nsc/files/run/ctor-order.scala @@ -11,10 +11,12 @@ class Outer { * *before* calling the super constructors. This is tested by * mixin M1, which tries to access global from the enclosing class. */ + val outer = Outer.this; } trait M1: X { Console.println(global.x); + Console.println(outer.global.x); } } -- cgit v1.2.3