From 1d167e4bc5c93613fe333a2fe38c87454b991815 Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Thu, 21 Jan 2021 10:47:17 +0100 Subject: [PATCH] FIR: enable inline classes support in kotlin.compiler.fir.tree module --- compiler/fir/tree/build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/compiler/fir/tree/build.gradle.kts b/compiler/fir/tree/build.gradle.kts index 8a6b4d3d1e1..f2a608fb727 100644 --- a/compiler/fir/tree/build.gradle.kts +++ b/compiler/fir/tree/build.gradle.kts @@ -56,3 +56,9 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) { this.module.generatedSourceDirs.add(generationRoot) } } + +kotlin { + sourceSets.all { + languageSettings.enableLanguageFeature("InlineClasses") + } +} \ No newline at end of file