aboutsummaryrefslogtreecommitdiff
path: root/tests/run/variable-pattern-access.check
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-03-20 23:45:48 +0100
committerGuillaume Martres <smarter@ubuntu.com>2017-03-21 00:33:39 +0100
commit6135363f8730421202eeb39494d3720b9124131c (patch)
treefe8d99d999be7ab7e844091e34fca216c2343dcb /tests/run/variable-pattern-access.check
parentf45dbe7e3722f0c6a814c8afd8481690ac5f1d2c (diff)
downloaddotty-6135363f8730421202eeb39494d3720b9124131c.tar.gz
dotty-6135363f8730421202eeb39494d3720b9124131c.tar.bz2
dotty-6135363f8730421202eeb39494d3720b9124131c.zip
Fix desugaring of variable pattern leaking into API
This was especially bad for incremental compilation since the temporary variable name is unstable.
Diffstat (limited to 'tests/run/variable-pattern-access.check')
-rw-r--r--tests/run/variable-pattern-access.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run/variable-pattern-access.check b/tests/run/variable-pattern-access.check
new file mode 100644
index 000000000..1039f6a25
--- /dev/null
+++ b/tests/run/variable-pattern-access.check
@@ -0,0 +1,7 @@
+# Fields of A:
+private final int A.a$$local
+private final int A.b$$local
+private final scala.Tuple2 A.$1$
+# Methods of A:
+public int A.a()
+public int A.b()