Report highlight errors to WolfTheProblemSolver

Relates to #KT-37702
#KTIJ-1246 Fixed

Original commit: bd222a5255c2fd6f4abfce3115f81733ef9a39f3
This commit is contained in:
Vladimir Dolzhenko
2021-02-19 05:46:04 +00:00
committed by Space
parent afe71f5d59
commit 8783ebc352
10 changed files with 234 additions and 10 deletions
+3
View File
@@ -0,0 +1,3 @@
// HAS-WOLF-ERRORS: true
// TYPE: .map
fun diagnostic(): String = ""<caret>
+5
View File
@@ -0,0 +1,5 @@
// WOLF-ERRORS: true
// HAS-WOLF-ERRORS: true
// TYPE: asd
// ERROR: Overload resolution ambiguity: <br>public final operator fun plus(other: Byte): Int defined in kotlin.Int<br>public final operator fun plus(other: Double): Double defined in kotlin.Int<br>public final operator fun plus(other: Float): Float defined in kotlin.Int<br>public final operator fun plus(other: Int): Int defined in kotlin.Int<br>public final operator fun plus(other: Long): Long defined in kotlin.Int<br>public final operator fun plus(other: Short): Int defined in kotlin.Int
fun diagnosticAfterSyntax(): Int = 42 + <caret>
+3
View File
@@ -0,0 +1,3 @@
// HAS-WOLF-ERRORS: false
// TYPE: +1
fun none(): Int = 42<caret>
+3
View File
@@ -0,0 +1,3 @@
// HAS-WOLF-ERRORS: true
// TYPE: +
fun syntax(): Int = 42<caret>