Nicer printer of LLVM array types.
This commit is contained in:
parent
219351e4b9
commit
41b3979990
@ -1539,7 +1539,10 @@ fn tys_str(type_names names,
|
||||
ret s;
|
||||
}
|
||||
|
||||
case (10) { ret "Array"; }
|
||||
case (10) {
|
||||
auto el_ty = llvm::LLVMGetElementType(ty);
|
||||
ret "[" + type_to_str_inner(names, outer, el_ty) + "]";
|
||||
}
|
||||
|
||||
case (11) {
|
||||
let uint i = 0u;
|
||||
|
Loading…
Reference in New Issue
Block a user