From c0c9841e6213016810a8d17783e5a95ef89bfcda Mon Sep 17 00:00:00 2001 From: Mikhail Glukhikh Date: Tue, 25 Dec 2018 11:33:21 +0300 Subject: [PATCH] Switch laziness OFF in script light classes tests Laziness works no more in this tests after dummyContextProvider is removed for script light classes (see fix of KT-25395). However, now 2/2 script light classes tests still fail in IDE mode, because after fix of KT-26505 IDE light classes do not see ScriptTemplateWithArgs as super-class --- compiler/testData/asJava/lightClasses/script/HelloWorld.kts | 4 +++- compiler/testData/asJava/lightClasses/script/InnerClasses.kts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/compiler/testData/asJava/lightClasses/script/HelloWorld.kts b/compiler/testData/asJava/lightClasses/script/HelloWorld.kts index dc1115e5f26..6a749c71ac9 100644 --- a/compiler/testData/asJava/lightClasses/script/HelloWorld.kts +++ b/compiler/testData/asJava/lightClasses/script/HelloWorld.kts @@ -1,3 +1,5 @@ // HelloWorld -println("Hello world!") \ No newline at end of file +println("Hello world!") + +// LAZINESS:NoLaziness \ No newline at end of file diff --git a/compiler/testData/asJava/lightClasses/script/InnerClasses.kts b/compiler/testData/asJava/lightClasses/script/InnerClasses.kts index 7a944057b52..7535d2d8041 100644 --- a/compiler/testData/asJava/lightClasses/script/InnerClasses.kts +++ b/compiler/testData/asJava/lightClasses/script/InnerClasses.kts @@ -10,4 +10,6 @@ class Bar(val a: Int) { } } -} \ No newline at end of file +} + +// LAZINESS:NoLaziness \ No newline at end of file