From bec6031cc2c73a6f6553daaa0ecb3245738aaebf Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Thu, 23 May 2019 07:42:33 +0100 Subject: [PATCH] Inner class loses outer pointer test-case Test case for https://github.com/scala/scala-dev/issues/627 --- .../src/test/inner-class-loses-outer-pointer-ko/problems.txt | 1 + .../src/test/inner-class-loses-outer-pointer-ko/v1/A.scala | 3 +++ .../src/test/inner-class-loses-outer-pointer-ko/v2/A.scala | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/problems.txt create mode 100644 reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/v1/A.scala create mode 100644 reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/v2/A.scala diff --git a/reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/problems.txt b/reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/problems.txt new file mode 100644 index 00000000..6a32f950 --- /dev/null +++ b/reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/problems.txt @@ -0,0 +1 @@ +class C#Inner is declared final in new version diff --git a/reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/v1/A.scala b/reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/v1/A.scala new file mode 100644 index 00000000..9b3fe158 --- /dev/null +++ b/reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/v1/A.scala @@ -0,0 +1,3 @@ +class C { + class Inner +} diff --git a/reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/v2/A.scala b/reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/v2/A.scala new file mode 100644 index 00000000..1c40b2ae --- /dev/null +++ b/reporter/functional-tests/src/test/inner-class-loses-outer-pointer-ko/v2/A.scala @@ -0,0 +1,3 @@ +class C { + final class Inner +}