diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-12-01 10:03:27 +0100 |
---|---|---|
committer | Mirco Dotta <mirco.dotta@typesafe.com> | 2013-12-02 10:39:40 +0100 |
commit | 02308c96910a76a09c2654db304a0696c0b603af (patch) | |
tree | 83871119f84c7b8eeab0788d0fb928959c103e01 /test/files/ant/scalac002.scala | |
parent | 652b3b4b9dcbf990e7ace409e050cc4ba4e83b16 (diff) | |
download | scala-02308c96910a76a09c2654db304a0696c0b603af.tar.gz scala-02308c96910a76a09c2654db304a0696c0b603af.tar.bz2 scala-02308c96910a76a09c2654db304a0696c0b603af.zip |
SI-7458 Pres. compiler must not observe trees in silent mode
Otherwise we can think that `+` in `1 + BigInt(2)` refers
to a method in `Int`.
In general, this protects the IDE from observing results from
"exploratory" typing which is discarded as the compiler backtracks
to another possibility.
This protection subsumes the condition that checked for overloaded
types: presentation/t7458 now passes without this.
Diffstat (limited to 'test/files/ant/scalac002.scala')
0 files changed, 0 insertions, 0 deletions