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 | |
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')
-rw-r--r-- | test/files/presentation/t7548b.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/presentation/t7548b.check b/test/files/presentation/t7548b.check index 5ba69809f1..35445fedf6 100644 --- a/test/files/presentation/t7548b.check +++ b/test/files/presentation/t7548b.check @@ -1 +1 @@ -Foo.this.I.+: (other: Foo.I.type)Unit +Foo.this.I2BI(Foo.this.I).+: (other: Foo.BI.type)Unit |