Repair case-conversion of type names for names like "IOList" -> "IoList"
This commit is contained in:
parent
c1077e2f35
commit
8f7ef3ff69
|
@ -182,16 +182,16 @@ impl<'m, 'b> ModuleContext<'m, 'b> {
|
|||
let base = match self.bundle.config.external_modules.get(&r.module.0) {
|
||||
None =>
|
||||
if r.module.0.is_empty() {
|
||||
item(r.name.to_owned())
|
||||
item(names::render_constructor(&r.name))
|
||||
} else {
|
||||
let mut items = Vec::new();
|
||||
items.push(item(self.bundle.config.fully_qualified_module_prefix.to_owned()));
|
||||
for p in &r.module.0 { items.push(item(names::render_modname(p))) }
|
||||
items.push(item(r.name.to_owned()));
|
||||
items.push(item(names::render_constructor(&r.name)));
|
||||
item(name(items))
|
||||
}
|
||||
Some(xm) =>
|
||||
item(name![xm.rust_namespace.clone(), r.name.to_owned()])
|
||||
item(name![xm.rust_namespace.clone(), names::render_constructor(&r.name)])
|
||||
};
|
||||
let q = self.ref_has_embedded(r);
|
||||
match style {
|
||||
|
|
Loading…
Reference in New Issue