Skip to content

Commit 7bf32e2

Browse files
Evgeny GerashchenkoEvgeny Gerashchenko
Evgeny Gerashchenko
authored and
Evgeny Gerashchenko
committed
Added workaround for backend bug to fix kdoc generator.
1 parent f3fa19e commit 7bf32e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

compiler/cli/src/org/jetbrains/jet/cli/jvm/K2JVMCompiler.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,13 @@ protected K2JVMCompilerArguments createArguments() {
149149
return new K2JVMCompilerArguments();
150150
}
151151

152+
// TODO this method is here only to workaround KT-2498
153+
@Override
154+
protected void configureEnvironment(@NotNull K2JVMCompileEnvironmentConfiguration configuration,
155+
@NotNull K2JVMCompilerArguments arguments) {
156+
super.configureEnvironment(configuration, arguments);
157+
}
158+
152159
//TODO: Hacked! Be sure that our kotlin stuff builds correctly before you remove.
153160
// our compiler throws method not found error
154161
// probably relates to KT-1863... well, may be not

0 commit comments

Comments
 (0)