some todo fixes
This commit is contained in:
@@ -354,12 +354,8 @@ public class StaticContext {
|
||||
};
|
||||
Rule<JsNameRef> libraryObjectsHaveKotlinQualifier = new Rule<JsNameRef>() {
|
||||
|
||||
//TODO: refactor by removing one annotation
|
||||
@Override
|
||||
public JsNameRef apply(@NotNull DeclarationDescriptor descriptor) {
|
||||
if (getAnnotationByName(descriptor, AnnotationsUtils.LIBRARY_ANNOTATION_FQNAME) != null) {
|
||||
return namer.kotlinObject();
|
||||
}
|
||||
if (getAnnotationByName(descriptor, AnnotationsUtils.LIBRARY_ANNOTATION_FQNAME) != null) {
|
||||
return namer.kotlinObject();
|
||||
}
|
||||
|
||||
-1
@@ -16,7 +16,6 @@ public final class NamespaceInitializerTranslator extends AbstractInitializerTra
|
||||
@NotNull
|
||||
private final NamespaceDescriptor namespace;
|
||||
|
||||
//TODO: pass namespace descriptor here
|
||||
public NamespaceInitializerTranslator(@NotNull NamespaceDescriptor namespace, @NotNull TranslationContext context) {
|
||||
super(context.getScopeForDescriptor(namespace).innerScope
|
||||
("initializer " + namespace.getName()), context);
|
||||
|
||||
Reference in New Issue
Block a user