blob: 688e8783972cb4199ae3bbc249cd7f552cab25ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import scala.tools.partest.ReplTest
object Test extends ReplTest {
def code = """
Map(1 -> "eis").values // no warn
:setting -Xmigration:none
Map(1 -> "eis").values // no warn
:setting -Xmigration:any
Map(1 -> "eis").values // warn
:setting -Xmigration:2.8
Map(1 -> "eis").values // no warn
:setting -Xmigration:2.7
Map(1 -> "eis").values // warn
:setting -Xmigration:2.11
Map(1 -> "eis").values // no warn
:setting -Xmigration // same as :any
Map(1 -> "eis").values // warn
"""
}
|