diff options
author | Lukas Rytz <lukas.rytz@typesafe.com> | 2016-05-11 12:22:32 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2016-05-11 12:22:32 +0200 |
commit | b3f8332cf399cd15067c879c8297c25598045883 (patch) | |
tree | 094af79fddb1e6a53ebee6d843a5fd877789a53f /test/files/run/t7319.check | |
parent | d06ce96a515ce3e4cdb724d30993ae45787716c6 (diff) | |
parent | 86ae2f95ce33ef22f9c9ad40d6a966fbef7d352f (diff) | |
download | scala-b3f8332cf399cd15067c879c8297c25598045883.tar.gz scala-b3f8332cf399cd15067c879c8297c25598045883.tar.bz2 scala-b3f8332cf399cd15067c879c8297c25598045883.zip |
Merge pull request #5090 from som-snytt/issue/9740-repl-bad-import
SI-9740 Repl import fix -Yrepl-class-based
Diffstat (limited to 'test/files/run/t7319.check')
-rw-r--r-- | test/files/run/t7319.check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/t7319.check b/test/files/run/t7319.check index 4d8429e8f2..31923e7119 100644 --- a/test/files/run/t7319.check +++ b/test/files/run/t7319.check @@ -15,21 +15,21 @@ warning: there was one feature warning; re-run with -feature for details convert: [F[X <: F[X]]](builder: F[_ <: F[_]])Int scala> convert(Some[Int](0)) -<console>:16: error: no type parameters for method convert: (builder: F[_ <: F[_]])Int exist so that it can be applied to arguments (Some[Int]) +<console>:15: error: no type parameters for method convert: (builder: F[_ <: F[_]])Int exist so that it can be applied to arguments (Some[Int]) --- because --- argument expression's type is not compatible with formal parameter type; found : Some[Int] required: ?F[_$1] forSome { type _$1 <: ?F[_$2] forSome { type _$2 } } convert(Some[Int](0)) ^ -<console>:16: error: type mismatch; +<console>:15: error: type mismatch; found : Some[Int] required: F[_ <: F[_]] convert(Some[Int](0)) ^ scala> Range(1,2).toArray: Seq[_] -<console>:15: error: polymorphic expression cannot be instantiated to expected type; +<console>:14: error: polymorphic expression cannot be instantiated to expected type; found : [B >: Int]Array[B] required: Seq[_] Range(1,2).toArray: Seq[_] |