diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-11-06 14:58:01 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-11-06 17:25:27 +0100 |
commit | 6045a05b833c930dfaf343215ac645f4f32f3e2a (patch) | |
tree | 097330f2df5dbb987868df080443e4d759640da9 /test/files/pos/t7232b | |
parent | 05681d4def04f290728e673b7856a57b872c8019 (diff) | |
download | scala-6045a05b833c930dfaf343215ac645f4f32f3e2a.tar.gz scala-6045a05b833c930dfaf343215ac645f4f32f3e2a.tar.bz2 scala-6045a05b833c930dfaf343215ac645f4f32f3e2a.zip |
Fix completion after application with implicit arguments
`List(1, 2, 3).map(f).<ctrl-space>` now works; before
the tree had the type `(bf: CanBuildFrom[...]):...` and
did not contribute completions from the result type.
This commit checks if the tree has an implicit method
type, and typechecks it as a qualifier. That is enough
to get to `adaptToImplicitMethod` in the type checker,
infer the implicit arguments, and compute the final result
type accordingly.
Diffstat (limited to 'test/files/pos/t7232b')
0 files changed, 0 insertions, 0 deletions