[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
+2
-2
@@ -1,11 +1,11 @@
|
||||
// !LANGUAGE: -RangeUntilOperator
|
||||
|
||||
class A {
|
||||
<!UNSUPPORTED_FEATURE("The feature "range until operator" is disabled")!>operator<!> fun rangeUntil(other: A): Iterable<A> = TODO()
|
||||
<!UNSUPPORTED_FEATURE("The feature \"range until operator\" is disabled")!>operator<!> fun rangeUntil(other: A): Iterable<A> = TODO()
|
||||
}
|
||||
|
||||
fun main(n: A, f: A) {
|
||||
for (i in f<!UNSUPPORTED_FEATURE("The feature "range until operator" is disabled")!>..<<!>n) {
|
||||
for (i in f<!UNSUPPORTED_FEATURE("The feature \"range until operator\" is disabled")!>..<<!>n) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user