Skip to content

Commit 187bc8b

Browse files
author
Eric Holk
committed
---
yaml --- r: 2676 b: refs/heads/master c: 41b3979 h: refs/heads/master v: v3
1 parent 3fe1428 commit 187bc8b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 219351e4b9dd98977b6784d73acb68dc1be24585
2+
refs/heads/master: 41b39799906fd4254d702078c98f7196145dfb12

trunk/src/comp/lib/llvm.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,10 @@ fn type_to_str_inner(type_names names,
15391539
ret s;
15401540
}
15411541

1542-
case (10) { ret "Array"; }
1542+
case (10) {
1543+
auto el_ty = llvm::LLVMGetElementType(ty);
1544+
ret "[" + type_to_str_inner(names, outer, el_ty) + "]";
1545+
}
15431546

15441547
case (11) {
15451548
let uint i = 0u;

0 commit comments

Comments
 (0)