Add LanguageVersionSettings to KotlinTypeMapper

KotlinTypeMapper clients should use proper LanguageVersionSettings when
possible.
This commit is contained in:
Dmitry Petrov
2018-11-21 09:16:04 +03:00
parent 5636227857
commit b3ce2eea39
9 changed files with 32 additions and 16 deletions
@@ -104,5 +104,6 @@ internal fun typeMapper(support: UltraLightSupport): KotlinTypeMapper = KotlinTy
BindingContext.EMPTY, ClassBuilderMode.LIGHT_CLASSES,
IncompatibleClassTracker.DoNothing, support.moduleName,
JvmTarget.JVM_1_8,
true, false
KotlinTypeMapper.LANGUAGE_VERSION_SETTINGS_DEFAULT, // TODO use proper LanguageVersionSettings
false
)