diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/resolve/BindingContextUtils.java b/compiler/frontend/src/org/jetbrains/jet/lang/resolve/BindingContextUtils.java index 7b2929a30be..a7061770adf 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/resolve/BindingContextUtils.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/resolve/BindingContextUtils.java @@ -79,7 +79,7 @@ public class BindingContextUtils { @Nullable public static NamespaceDescriptor namespaceDescriptor(@NotNull BindingContext context, @NotNull JetFile source) { - return context.get(BindingContext.NAMESPACE, source); + return context.get(BindingContext.FILE_TO_NAMESPACE, source); } @Nullable