de2944ff43
This test was checking errors *before* applying action, rather than *after*, like all other QuickFix-tests do. This commit moves errors-check after performing quick-fix action, and changes testdata: - for most tests errors are simply gone (as quickfix usually fixes that error) - also, for implementMembersInActualClassNoExpectMember we add 'DISABLE-ERROR', similarly to implementMembersInImplClassNonImplInheritor. This is needed because 'Implement Members'-fix created 'TODO'-calls, which are not resolved in those tests due to the lack of stdlib. Previously, there were no errors in this test exactly because file was checked *before* applying quickfix (i.e. when there were no 'TODO()' in file)
13 lines
150 B
Plaintext
Vendored
13 lines
150 B
Plaintext
Vendored
// "Create member property 'Foo.foo'" "true"
|
|
|
|
expect class Foo {
|
|
val foo: Int
|
|
}
|
|
|
|
fun test(f: Foo) {
|
|
takeInt(f.foo)
|
|
}
|
|
|
|
fun takeInt(n: Int) {
|
|
|
|
} |