Update dictionary: +infos, -kompiler

This commit is contained in:
Nikolay Krasko
2018-09-21 18:55:30 +03:00
parent 80c3e59dd5
commit 07e305e5f4
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -7,9 +7,9 @@
<w>fqname</w>
<w>goto</w>
<w>gradle</w>
<w>infos</w>
<w>intrinsics</w>
<w>kdoc</w>
<w>kompiler</w>
<w>memoize</w>
<w>memoized</w>
<w>multiline</w>
+1 -1
View File
@@ -1,5 +1,5 @@
// !WITH_NEW_INFERENCE
//KT-1293 Kompiler doesn't show error when element of Array<Int?> is assigned to Int
//KT-1293 Compiler doesn't show error when element of Array<Int?> is assigned to Int
package kt1293
@@ -90,14 +90,14 @@ object CompilerRunnerUtil {
environment: JpsCompilerEnvironment,
out: PrintStream
): Any? = withCompilerClassloader(environment) { classLoader ->
val kompiler = Class.forName(compilerClassName, true, classLoader)
val exec = kompiler.getMethod(
val compiler = Class.forName(compilerClassName, true, classLoader)
val exec = compiler.getMethod(
"execAndOutputXml",
PrintStream::class.java,
Class.forName("org.jetbrains.kotlin.config.Services", true, classLoader),
Array<String>::class.java
)
exec.invoke(kompiler.newInstance(), out, environment.services, arguments)
exec.invoke(compiler.newInstance(), out, environment.services, arguments)
}
fun invokeClassesFqNames(