diff --git a/compiler/backend/src/org/jetbrains/jet/codegen/PropertyCodegen.java b/compiler/backend/src/org/jetbrains/jet/codegen/PropertyCodegen.java index 9ce660adcbe..2ec13c784e8 100644 --- a/compiler/backend/src/org/jetbrains/jet/codegen/PropertyCodegen.java +++ b/compiler/backend/src/org/jetbrains/jet/codegen/PropertyCodegen.java @@ -62,8 +62,7 @@ public class PropertyCodegen { if (initializer != null) { if (initializer instanceof JetConstantExpression) { CompileTimeConstant compileTimeValue = state.getBindingContext().get(BindingContext.COMPILE_TIME_VALUE, initializer); - assert compileTimeValue != null; - value = compileTimeValue.getValue(); + value = compileTimeValue != null ? compileTimeValue.getValue() : null; } } final int modifiers;