diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-11-14 10:45:08 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-11-14 10:45:08 -0800 |
commit | 05e6322f79009e775ab96e000582321fff43de1c (patch) | |
tree | 212bf651097caca5239c7b2a89596627f5a3cfd9 /test/files/presentation/completion-implicit-chained/src/Completions.scala | |
parent | 62ebd713ad5f3589911966ddeceae1aa0d5383f1 (diff) | |
parent | b701c1703295b01f4ab2db912441c8a891cfa33c (diff) | |
download | scala-05e6322f79009e775ab96e000582321fff43de1c.tar.gz scala-05e6322f79009e775ab96e000582321fff43de1c.tar.bz2 scala-05e6322f79009e775ab96e000582321fff43de1c.zip |
Merge pull request #3133 from adriaanm/merge-2.10
Merge 2.10
Diffstat (limited to 'test/files/presentation/completion-implicit-chained/src/Completions.scala')
-rw-r--r-- | test/files/presentation/completion-implicit-chained/src/Completions.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/presentation/completion-implicit-chained/src/Completions.scala b/test/files/presentation/completion-implicit-chained/src/Completions.scala new file mode 100644 index 0000000000..67922dfec0 --- /dev/null +++ b/test/files/presentation/completion-implicit-chained/src/Completions.scala @@ -0,0 +1,12 @@ +package test + +import scala.Predef.DummyImplicit // turn off other predef implicits for a cleaner .check file. + +object O { + def map(x: Int => Int)(implicit a: DummyImplicit): O.type = this + val prefix123 : Int = 0 +} + +class Foo { + O.map(x => x)./*!*/ // we want the presentation compiler to apply the implicit argument list. +} |