Minor, improve assertion message

This commit is contained in:
Alexander Udalov
2015-11-27 21:44:20 +03:00
parent 9e7e75de12
commit f6616e6e42
@@ -229,7 +229,7 @@ public abstract class KotlinBuiltIns {
@NotNull
public ClassDescriptor getBuiltInClassByName(@NotNull Name simpleName) {
ClassDescriptor classDescriptor = getBuiltInClassByNameNullable(simpleName);
assert classDescriptor != null : "Must be a class descriptor " + simpleName + ", but was null";
assert classDescriptor != null : "Built-in class " + simpleName + " is not found";
return classDescriptor;
}