[Test] Fix diagnostics arguments rendering when quotes are present
Non-capturing `(?:)` was now needed to avoid getting an additional group that only contains the last symbol before the closing `"`. ^KT-62711 Fixed
This commit is contained in:
committed by
Space Team
parent
54de11cb58
commit
b8e2a17de1
+1
-1
@@ -6,5 +6,5 @@ interface BodySpec<B, S : BodySpec<B, S>> {
|
||||
|
||||
fun test(b: BodySpec<String, *>) {
|
||||
val x = b.<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>isEqualTo<!>("")
|
||||
<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Not found recorded type for b.isEqualTo("")]")!>x<!>
|
||||
<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE, DEBUG_INFO_EXPRESSION_TYPE("[Error type: Not found recorded type for b.isEqualTo(\"\")]")!>x<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user