Skip to content

Commit 61c4a64

Browse files
author
Eric Holk
committed
---
yaml --- r: 3266 b: refs/heads/master c: 5640bea h: refs/heads/master v: v3
1 parent 554f419 commit 61c4a64

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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: 283744ba7826738f85967893416ccb8787971c62
2+
refs/heads/master: 5640bead584165c061b3dfd2353948cddbcda50e

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7058,6 +7058,7 @@ fn arg_tys_of_fn(&@crate_ctxt ccx, ast::ann ann) -> vec[ty::arg] {
70587058
fn ret_ty_of_fn_ty(&@crate_ctxt ccx, ty::t t) -> ty::t {
70597059
alt (ty::struct(ccx.tcx, t)) {
70607060
case (ty::ty_fn(_, _, ?ret_ty, _, _)) { ret ret_ty; }
7061+
case (ty::ty_native_fn(_, _, ?ret_ty)) { ret ret_ty; }
70617062
case (_) {
70627063
ccx.sess.bug("ret_ty_of_fn_ty() called on non-function type: " +
70637064
ty_to_str(ccx.tcx, t));

0 commit comments

Comments
 (0)