fix helper function to find NamespaceDescriptor in a file - thanks to Nikolay for the heads up

This commit is contained in:
James Strachan
2012-04-11 09:05:17 +01:00
parent d3ec4240c1
commit f1a2caeb12
@@ -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