[minor] fix typo in function name
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ class KJvmReplCompilerImpl(val hostConfiguration: ScriptingHostConfiguration) :
|
||||
val updatedConfiguration = ScriptDependenciesProvider.getInstance(context.environment.project)
|
||||
?.getScriptConfiguration(snippetKtFile)?.configuration
|
||||
?: context.baseScriptCompilationConfiguration
|
||||
registerPackageFragmetProvidersIfNeeded(updatedConfiguration, context.environment)
|
||||
registerPackageFragmentProvidersIfNeeded(updatedConfiguration, context.environment)
|
||||
}
|
||||
|
||||
val analysisResult =
|
||||
|
||||
+2
-2
@@ -131,7 +131,7 @@ private fun compileImpl(
|
||||
}
|
||||
}
|
||||
|
||||
internal fun registerPackageFragmetProvidersIfNeeded(
|
||||
internal fun registerPackageFragmentProvidersIfNeeded(
|
||||
scriptCompilationConfiguration: ScriptCompilationConfiguration,
|
||||
environment: KotlinCoreEnvironment
|
||||
) {
|
||||
@@ -157,7 +157,7 @@ private fun doCompile(
|
||||
getScriptConfiguration: (KtFile) -> ScriptCompilationConfiguration
|
||||
): ResultWithDiagnostics<KJvmCompiledScript<Any>> {
|
||||
|
||||
registerPackageFragmetProvidersIfNeeded(getScriptConfiguration(sourceFiles.first()), context.environment)
|
||||
registerPackageFragmentProvidersIfNeeded(getScriptConfiguration(sourceFiles.first()), context.environment)
|
||||
|
||||
val analysisResult = analyze(sourceFiles, context.environment)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user