Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert -Vimplicits back to default false
- Loading branch information
Showing
57 changed files
with
121 additions
and
599 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
classtags_contextbound_a.scala:2: error: implicit error; | ||
!I evidence$5: ClassTag[T] | ||
No ClassTag available for T | ||
|
||
classtags_contextbound_a.scala:2: error: No ClassTag available for T | ||
def foo[T] = Array[T]() | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
classtags_contextbound_b.scala:5: error: implicit error; | ||
!I evidence$1: ClassTag[T] | ||
No ClassTag available for T | ||
|
||
classtags_contextbound_b.scala:5: error: No ClassTag available for T | ||
def foo[T] = mkArray[T] | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
classtags_contextbound_c.scala:4: error: implicit error; | ||
!I evidence$5: ClassTag[T] | ||
No ClassTag available for T | ||
|
||
classtags_contextbound_c.scala:4: error: No ClassTag available for T | ||
def mkArray[T] = Array[T]() | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
classtags_dont_use_typetags.scala:4: error: implicit error; | ||
!I evidence$5: ClassTag[T] | ||
No ClassTag available for T | ||
|
||
classtags_dont_use_typetags.scala:4: error: No ClassTag available for T | ||
def foo[T: TypeTag] = Array[T]() | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
test/files/neg/interop_abstypetags_arenot_classmanifests.check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
interop_abstypetags_arenot_classmanifests.scala:6: error: implicit error; | ||
!I e: ClassTag[T] | ||
No ClassManifest available for T. | ||
|
||
interop_abstypetags_arenot_classmanifests.scala:6: error: No ClassManifest available for T. | ||
println(implicitly[ClassManifest[T]]) | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
interop_abstypetags_arenot_classtags.scala:6: error: implicit error; | ||
!I ctag: ClassTag[T] | ||
No ClassTag available for T | ||
|
||
interop_abstypetags_arenot_classtags.scala:6: error: No ClassTag available for T | ||
println(classTag[T]) | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
interop_abstypetags_arenot_manifests.scala:5: error: implicit error; | ||
!I m: Manifest[T] | ||
No Manifest available for T. | ||
|
||
interop_abstypetags_arenot_manifests.scala:5: error: No Manifest available for T. | ||
println(manifest[T]) | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
interop_classmanifests_arenot_typetags.scala:6: error: implicit error; | ||
!I e: TypeTag[T] | ||
No TypeTag available for T | ||
|
||
interop_classmanifests_arenot_typetags.scala:6: error: No TypeTag available for T | ||
println(implicitly[TypeTag[T]]) | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
interop_classtags_arenot_manifests.scala:5: error: implicit error; | ||
!I m: Manifest[T] | ||
No Manifest available for T. | ||
|
||
interop_classtags_arenot_manifests.scala:5: error: No Manifest available for T. | ||
println(manifest[T]) | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
interop_typetags_arenot_classmanifests.scala:6: error: implicit error; | ||
!I e: ClassTag[T] | ||
No ClassManifest available for T. | ||
|
||
interop_typetags_arenot_classmanifests.scala:6: error: No ClassManifest available for T. | ||
println(implicitly[ClassManifest[T]]) | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
interop_typetags_arenot_classtags.scala:6: error: implicit error; | ||
!I ctag: ClassTag[T] | ||
No ClassTag available for T | ||
|
||
interop_typetags_arenot_classtags.scala:6: error: No ClassTag available for T | ||
println(classTag[T]) | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
literate_existentials.scala:189: error: implicit error; | ||
!I e: Int <:< M | ||
Cannot prove that Int <:< M forSome { type M <: String }. | ||
|
||
literate_existentials.scala:189: error: Cannot prove that Int <:< M forSome { type M <: String }. | ||
implicitly[Int <:< (M forSome { type M >: Nothing <: String })] // fails | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
Impls_Macros_1.scala:6: error: implicit error; | ||
!I e: SourceLocation | ||
Impls_Macros_1.scala:6: error: could not find implicit value for parameter e: SourceLocation | ||
c.universe.reify { implicitly[SourceLocation] } | ||
^ | ||
1 error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
Test_2.scala:2: error: implicit error; | ||
!I e: Complex[Foo] | ||
Test_2.scala:2: error: could not find implicit value for parameter e: Complex[Foo] | ||
println(implicitly[Complex[Foo]]) | ||
^ | ||
1 error |
10 changes: 2 additions & 8 deletions
10
test/files/neg/macro-reify-typetag-hktypeparams-notags.check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
Test.scala:5: error: implicit error; | ||
!I e: TypeTag[C[T]] | ||
No TypeTag available for C[T] | ||
|
||
Test.scala:5: error: No TypeTag available for C[T] | ||
println(implicitly[TypeTag[C[T]]]) | ||
^ | ||
Test.scala:6: error: implicit error; | ||
!I e: TypeTag[List[C[T]]] | ||
No TypeTag available for List[C[T]] | ||
|
||
Test.scala:6: error: No TypeTag available for List[C[T]] | ||
println(implicitly[TypeTag[List[C[T]]]]) | ||
^ | ||
2 errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
Test.scala:5: error: implicit error; | ||
!I e: TypeTag[T] | ||
No TypeTag available for T | ||
|
||
Test.scala:5: error: No TypeTag available for T | ||
println(implicitly[TypeTag[T]]) | ||
^ | ||
Test.scala:6: error: implicit error; | ||
!I e: TypeTag[List[T]] | ||
No TypeTag available for List[T] | ||
|
||
Test.scala:6: error: No TypeTag available for List[T] | ||
println(implicitly[TypeTag[List[T]]]) | ||
^ | ||
2 errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
Test.scala:5: error: implicit error; | ||
!I e: TypeTag[T] | ||
No TypeTag available for T | ||
|
||
Test.scala:5: error: No TypeTag available for T | ||
println(implicitly[TypeTag[T]]) | ||
^ | ||
Test.scala:6: error: implicit error; | ||
!I e: TypeTag[List[T]] | ||
No TypeTag available for List[T] | ||
|
||
Test.scala:6: error: No TypeTag available for List[T] | ||
println(implicitly[TypeTag[List[T]]]) | ||
^ | ||
2 errors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,31 @@ | ||
missing-implicit.scala:23: error: implicit error; | ||
!I e: TC[String] {type Int = <none>} | ||
(foo) | ||
|
||
missing-implicit.scala:23: error: could not find implicit value for parameter e: TC[String]{type Int} (foo) | ||
implicitly[TC[String] { type Int}] | ||
^ | ||
missing-implicit.scala:24: error: implicit error; | ||
!I e: XC[String] | ||
bar | ||
|
||
missing-implicit.scala:24: error: bar | ||
implicitly[XC[String]] | ||
^ | ||
missing-implicit.scala:25: error: implicit error; | ||
!I e: U | ||
(nope) | ||
|
||
missing-implicit.scala:25: error: could not find implicit value for parameter e: U (nope) | ||
implicitly[U] | ||
^ | ||
missing-implicit.scala:26: error: implicit error; | ||
!I e: V | ||
no way | ||
|
||
missing-implicit.scala:26: error: no way | ||
implicitly[V] | ||
^ | ||
missing-implicit.scala:31: error: implicit error; | ||
!I v: V | ||
no way | ||
|
||
missing-implicit.scala:31: error: no way | ||
f | ||
^ | ||
missing-implicit.scala:32: error: implicit error; | ||
!I v: V | ||
huh | ||
|
||
missing-implicit.scala:32: error: huh | ||
g | ||
^ | ||
missing-implicit.scala:49: error: implicit error; | ||
!I e: F[Int] | ||
No F of Int | ||
|
||
missing-implicit.scala:49: error: No F of Int | ||
implicitly[F[Int]] | ||
^ | ||
missing-implicit.scala:50: error: implicit error; | ||
!I e: M[Int] | ||
(No F of Int) | ||
|
||
missing-implicit.scala:50: error: could not find implicit value for parameter e: M[Int] (No F of Int) | ||
implicitly[M[Int]] | ||
^ | ||
missing-implicit.scala:51: error: implicit error; | ||
!I e: AX | ||
(No F of String) | ||
|
||
missing-implicit.scala:51: error: could not find implicit value for parameter e: AX (No F of String) | ||
implicitly[AX] | ||
^ | ||
missing-implicit.scala:52: error: implicit error; | ||
!I e: X0 | ||
(Missing X3 of Char and Int and String) | ||
|
||
missing-implicit.scala:52: error: could not find implicit value for parameter e: X0 (Missing X3 of Char and Int and String) | ||
implicitly[X0] | ||
^ | ||
10 errors |
Oops, something went wrong.