Skip to content

Commit

Permalink
NoArg: Fix NoArgExpressionCodegenExtension loading in IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
yanex committed Jul 4, 2017
1 parent d74ffc8 commit 68c3ce9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import org.jetbrains.kotlin.codegen.FunctionGenerationStrategy.CodegenBased
import org.jetbrains.kotlin.resolve.descriptorUtil.builtIns
import org.jetbrains.org.objectweb.asm.Opcodes

class NoArgExpressionCodegenExtension(val invokeInitializers: Boolean) : ExpressionCodegenExtension {
class NoArgExpressionCodegenExtension(val invokeInitializers: Boolean = false) : ExpressionCodegenExtension {
override fun generateClassSyntheticParts(codegen: ImplementationBodyCodegen) = with(codegen) {
if (shouldGenerateNoArgConstructor()) {
generateNoArgConstructor()
Expand Down

0 comments on commit 68c3ce9

Please sign in to comment.