|
1 | | --- [E007] Type Mismatch Error: tests/neg/into-inferred.scala:34:32 ----------------------------------------------------- |
2 | | -34 | val l1: List[into[Keyword]] = l :+ "then" :+ "else" // error |
| 1 | +-- [E007] Type Mismatch Error: tests/neg/into-inferred.scala:33:32 ----------------------------------------------------- |
| 2 | +33 | val l1: List[into[Keyword]] = l :+ "then" :+ "else" // error |
3 | 3 | | ^^^^^^^^^^^^^^^^^^^^^ |
4 | 4 | | Found: List[Conversion.into[Keyword] | String] |
5 | 5 | | Required: List[Conversion.into[Keyword]] |
6 | 6 | | |
7 | 7 | | longer explanation available when compiling with `-explain` |
8 | | --- Feature Warning: tests/neg/into-inferred.scala:22:43 ---------------------------------------------------------------- |
9 | | -22 | val ys: List[into[Keyword]] = List(ifKW, "then", "else") // warn // warn |
| 8 | +-- Feature Warning: tests/neg/into-inferred.scala:21:43 ---------------------------------------------------------------- |
| 9 | +21 | val ys: List[into[Keyword]] = List(ifKW, "then", "else") // warn // warn |
10 | 10 | | ^^^^^^ |
11 | 11 | | Use of implicit conversion given instance given_Conversion_String_Keyword in object Test should be enabled |
12 | 12 | | by adding the import clause 'import scala.language.implicitConversions' |
13 | 13 | | or by setting the compiler option -language:implicitConversions. |
14 | 14 | | See the Scala docs for value scala.language.implicitConversions for a discussion |
15 | 15 | | why the feature should be explicitly enabled. |
16 | | --- Feature Warning: tests/neg/into-inferred.scala:22:51 ---------------------------------------------------------------- |
17 | | -22 | val ys: List[into[Keyword]] = List(ifKW, "then", "else") // warn // warn |
| 16 | +-- Feature Warning: tests/neg/into-inferred.scala:21:51 ---------------------------------------------------------------- |
| 17 | +21 | val ys: List[into[Keyword]] = List(ifKW, "then", "else") // warn // warn |
18 | 18 | | ^^^^^^ |
19 | 19 | | Use of implicit conversion given instance given_Conversion_String_Keyword in object Test should be enabled |
20 | 20 | | by adding the import clause 'import scala.language.implicitConversions' |
21 | 21 | | or by setting the compiler option -language:implicitConversions. |
22 | 22 | | See the Scala docs for value scala.language.implicitConversions for a discussion |
23 | 23 | | why the feature should be explicitly enabled. |
24 | | --- Feature Warning: tests/neg/into-inferred.scala:35:42 ---------------------------------------------------------------- |
25 | | -35 | val l2: List[into[Keyword]] = l ++ List("then", "else") // warn // warn |
| 24 | +-- Feature Warning: tests/neg/into-inferred.scala:34:42 ---------------------------------------------------------------- |
| 25 | +34 | val l2: List[into[Keyword]] = l ++ List("then", "else") // warn // warn |
26 | 26 | | ^^^^^^ |
27 | 27 | | Use of implicit conversion given instance given_Conversion_String_Keyword in object Test should be enabled |
28 | 28 | | by adding the import clause 'import scala.language.implicitConversions' |
29 | 29 | | or by setting the compiler option -language:implicitConversions. |
30 | 30 | | See the Scala docs for value scala.language.implicitConversions for a discussion |
31 | 31 | | why the feature should be explicitly enabled. |
32 | | --- Feature Warning: tests/neg/into-inferred.scala:35:50 ---------------------------------------------------------------- |
33 | | -35 | val l2: List[into[Keyword]] = l ++ List("then", "else") // warn // warn |
| 32 | +-- Feature Warning: tests/neg/into-inferred.scala:34:50 ---------------------------------------------------------------- |
| 33 | +34 | val l2: List[into[Keyword]] = l ++ List("then", "else") // warn // warn |
34 | 34 | | ^^^^^^ |
35 | 35 | | Use of implicit conversion given instance given_Conversion_String_Keyword in object Test should be enabled |
36 | 36 | | by adding the import clause 'import scala.language.implicitConversions' |
|
0 commit comments