[TD] Update diagnostics test data due to new test runners
Update includes:
- Changing syntax of `OI/`NI` tags from `<!NI;TAG!>` to `<!TAG{NI}!>`
- Fix some incorrect directives
- Change order of diagnostics in some places
- Remove ignored diagnostics from FIR test data (previously `DIAGNOSTICS` didn't work)
- Update FIR dumps in some places and add `FIR_IDENTICAL` if needed
- Replace all JAVAC_SKIP with SKIP_JAVAC directive
This commit is contained in:
@@ -40,8 +40,8 @@ class B {
|
||||
}
|
||||
|
||||
fun test3(a: A) {
|
||||
a.<!INVISIBLE_MEMBER("v", "private", "'A'")!>v<!> //todo .bMethod()
|
||||
a.<!INVISIBLE_MEMBER("f", "private", "'A'")!>f<!>(0, <!TOO_MANY_ARGUMENTS!>1<!>) //todo .bMethod()
|
||||
a.<!INVISIBLE_MEMBER("v; private; 'A'")!>v<!> //todo .bMethod()
|
||||
a.<!INVISIBLE_MEMBER("f; private; 'A'")!>f<!>(0, <!TOO_MANY_ARGUMENTS!>1<!>) //todo .bMethod()
|
||||
}
|
||||
|
||||
interface T
|
||||
@@ -54,7 +54,7 @@ open class C : T {
|
||||
}
|
||||
|
||||
fun test4(c: C) {
|
||||
c.<!INVISIBLE_MEMBER("i", "protected", "'C'")!>i<!>++
|
||||
c.<!INVISIBLE_MEMBER("i; protected; 'C'")!>i<!>++
|
||||
}
|
||||
|
||||
class D : C() {
|
||||
@@ -78,7 +78,7 @@ class F : C() {
|
||||
|
||||
class G : T {
|
||||
fun test8(c: C) {
|
||||
doSmth(c.<!INVISIBLE_MEMBER("i", "protected", "'C'")!>i<!>)
|
||||
doSmth(c.<!INVISIBLE_MEMBER("i; protected; 'C'")!>i<!>)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,5 +91,5 @@ import test_visibility.*
|
||||
|
||||
fun test() {
|
||||
internal_fun()
|
||||
<!INVISIBLE_MEMBER("private_fun", "private", "file")!>private_fun<!>()
|
||||
<!INVISIBLE_MEMBER("private_fun; private; file")!>private_fun<!>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user