Properly handle the case of backing field access qualified with 'this' reference
This commit is contained in:
@@ -16,17 +16,14 @@
|
||||
|
||||
package org.jetbrains.jet.cfg;
|
||||
|
||||
import junit.framework.Assert;
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
import org.jetbrains.jet.JetTestUtils;
|
||||
import org.jetbrains.jet.test.InnerTestClasses;
|
||||
import org.jetbrains.jet.test.TestMetadata;
|
||||
|
||||
import org.jetbrains.jet.cfg.AbstractControlFlowTest;
|
||||
import java.io.File;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.jet.generators.tests.GenerateTests}. DO NOT MODIFY MANUALLY */
|
||||
@SuppressWarnings("all")
|
||||
@@ -77,6 +74,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
|
||||
doTest("compiler/testData/cfg/backingFieldAccess.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("backingFieldQualifiedWithThis.kt")
|
||||
public void testBackingFieldQualifiedWithThis() throws Exception {
|
||||
doTest("compiler/testData/cfg/backingFieldQualifiedWithThis.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Basic.kt")
|
||||
public void testBasic() throws Exception {
|
||||
doTest("compiler/testData/cfg/Basic.kt");
|
||||
|
||||
Reference in New Issue
Block a user