Got rid of "namespace" word in compiler code.
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ public final class JavaFunctionResolver {
|
||||
signatureErrors.addAll(effectiveSignature.getErrors());
|
||||
}
|
||||
else {
|
||||
throw new IllegalStateException("Unknown class or namespace descriptor: " + ownerDescriptor);
|
||||
throw new IllegalStateException("Unknown class or package descriptor: " + ownerDescriptor);
|
||||
}
|
||||
|
||||
functionDescriptorImpl.initialize(
|
||||
|
||||
+1
-1
@@ -263,7 +263,7 @@ public class AnnotationDescriptorDeserializer implements AnnotationDeserializer
|
||||
}
|
||||
else if (isTrait(container) && kind == AnnotatedCallableKind.PROPERTY) {
|
||||
PackageFragmentDescriptor containingPackage = DescriptorUtils.getParentOfType(container, PackageFragmentDescriptor.class);
|
||||
assert containingPackage != null : "Trait must have a namespace among his parents: " + container;
|
||||
assert containingPackage != null : "Trait must have a package fragment among his parents: " + container;
|
||||
|
||||
if (proto.hasExtension(JavaProtoBuf.implClassName)) {
|
||||
Name tImplName = nameResolver.getName(proto.getExtension(JavaProtoBuf.implClassName));
|
||||
|
||||
Reference in New Issue
Block a user