fix for multiple evaluation of expression on multi var declaration
This commit is contained in:
@@ -13,17 +13,15 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.jetbrains.jet.codegen;
|
||||
|
||||
import junit.framework.Assert;
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import java.io.File;
|
||||
import org.jetbrains.jet.JetTestUtils;
|
||||
import org.jetbrains.jet.test.TestMetadata;
|
||||
|
||||
import org.jetbrains.jet.codegen.AbstractMultiDeclTestCase;
|
||||
import java.io.File;
|
||||
|
||||
/** This class is generated by {@link org.jetbrains.jet.codegen.AbstractMultiDeclTestCase}. DO NOT MODIFY MANUALLY */
|
||||
@TestMetadata("compiler/testData/codegen/multiDecl")
|
||||
@@ -37,6 +35,11 @@ public class MultiDeclTestGenerated extends AbstractMultiDeclTestCase {
|
||||
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/ComplexInitializer.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("component.kt")
|
||||
public void testComponent() throws Exception {
|
||||
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/component.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("SimpleVals.kt")
|
||||
public void testSimpleVals() throws Exception {
|
||||
blackBoxFileByFullPath("compiler/testData/codegen/multiDecl/SimpleVals.kt");
|
||||
|
||||
Reference in New Issue
Block a user