Minor: fixed error message
This commit is contained in:
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>V</td></tr><tr><td>Found:</td><td>kotlin.String</td></tr></table></html>
|
||||
// ERROR: An integer literal does not conform to the expected type U
|
||||
// ERROR: The integer literal does not conform to the expected type U
|
||||
|
||||
class B<T>(val t: T) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>V</td></tr><tr><td>Found:</td><td>kotlin.String</td></tr></table></html>
|
||||
// ERROR: An integer literal does not conform to the expected type U
|
||||
// ERROR: The integer literal does not conform to the expected type U
|
||||
|
||||
class B<T>(val t: T) {
|
||||
inner class Foo<U, V>(u: U, v: V) {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>W</td></tr><tr><td>Found:</td><td>kotlin.String</td></tr></table></html>
|
||||
// ERROR: An integer literal does not conform to the expected type V
|
||||
// ERROR: The integer literal does not conform to the expected type V
|
||||
|
||||
class B<T>(val t: T) {
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create class 'Foo'" "true"
|
||||
// ERROR: <html>Type mismatch.<table><tr><td>Required:</td><td>W</td></tr><tr><td>Found:</td><td>kotlin.String</td></tr></table></html>
|
||||
// ERROR: An integer literal does not conform to the expected type V
|
||||
// ERROR: The integer literal does not conform to the expected type V
|
||||
|
||||
class B<T>(val t: T) {
|
||||
inner class Foo<U, V, W>(v: V, w: W) {
|
||||
|
||||
Reference in New Issue
Block a user