Add possibility to get location of the script.main.kts file
#KT-48414 fixed
This commit is contained in:
committed by
Ilya Chernikov
parent
7ddf83f32d
commit
ca2f37f6eb
+1
-1
@@ -141,7 +141,7 @@ internal fun makeCompiledScript(
|
||||
sourceFile.declarations.firstIsInstanceOrNull<KtScript>()?.let { ktScript ->
|
||||
makeOtherScripts(ktScript).onSuccess { otherScripts ->
|
||||
KJvmCompiledScript(
|
||||
containingKtFile.virtualFilePath,
|
||||
sourceFile.virtualFilePath,
|
||||
getScriptConfiguration(sourceFile),
|
||||
ktScript.fqName.asString(),
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user