summaryrefslogtreecommitdiff
path: root/test/files/run/dynamic-applyDynamic.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-11-26 21:20:21 +0100
committerJason Zaugg <jzaugg@gmail.com>2013-11-26 22:08:18 +0100
commitf30ae6149ddd4386debbf3a5650b1fc005ed00e9 (patch)
tree47439b4fc83c6e27a38e1c1645bfbd6d860d08a4 /test/files/run/dynamic-applyDynamic.check
parenteee92c3aa6c1355a5aec97dd9adb2bd2fa61dc09 (diff)
parent3629b645cc2b1403c51925dd9c696a57008c0ce2 (diff)
downloadscala-f30ae6149ddd4386debbf3a5650b1fc005ed00e9.tar.gz
scala-f30ae6149ddd4386debbf3a5650b1fc005ed00e9.tar.bz2
scala-f30ae6149ddd4386debbf3a5650b1fc005ed00e9.zip
Merge remote-tracking branch 'origin/pr/3196' into merge/2.10.x-positions-to-master
Conflicts: src/compiler/scala/tools/nsc/typechecker/Typers.scala test/files/neg/applydynamic_sip.check - Changes two calls from `.endOrPoint` to `.point`. The latter is safe in master for both `Range`- and `OffsetPosition`s - Updates checkfiles with unrelated position changes (constructors)
Diffstat (limited to 'test/files/run/dynamic-applyDynamic.check')
-rw-r--r--test/files/run/dynamic-applyDynamic.check14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/run/dynamic-applyDynamic.check b/test/files/run/dynamic-applyDynamic.check
new file mode 100644
index 0000000000..ae6996f8fc
--- /dev/null
+++ b/test/files/run/dynamic-applyDynamic.check
@@ -0,0 +1,14 @@
+[[syntax trees at end of typer]] // newSource1.scala
+[0:67]package [0:0]<empty> {
+ [0:67]object X extends [9:67][67]scala.AnyRef {
+ [67]def <init>(): [9]X.type = [67]{
+ [67][67][67]X.super.<init>();
+ [9]()
+ };
+ [17:30]private[this] val d: [21]D = [25:30][25:30][25:30]new [29:30]D();
+ [21]<stable> <accessor> def d: [21]D = [21][21]X.this.d;
+ [37:49][37:38][37:38][37]X.this.d.applyDynamic(<39:45>"method")([46:48]10);
+ [56:61]<56:57><56:57>[56]X.this.d.applyDynamic(<56:57>"apply")([58:60]10)
+ }
+}
+