diff options
| author | Graydon Hoare <[email protected]> | 2011-03-20 20:18:19 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-20 20:18:19 -0700 |
| commit | 4b946cea35888bc82c624e9d79fade3077b40c3c (patch) | |
| tree | f4a618c82541396930cd876ad938f81781f6422f /src/comp/middle/ty.rs | |
| parent | Switch win32 path_sep to '/', add comment explaining a bit. (diff) | |
| download | rust-4b946cea35888bc82c624e9d79fade3077b40c3c.tar.xz rust-4b946cea35888bc82c624e9d79fade3077b40c3c.zip | |
Modify native_item_fn to handle trailing linkage names that differ from the item name (used in win32 build of std.dll)
Diffstat (limited to 'src/comp/middle/ty.rs')
| -rw-r--r-- | src/comp/middle/ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/ty.rs b/src/comp/middle/ty.rs index 5fdb4dc2..c6fbb5bf 100644 --- a/src/comp/middle/ty.rs +++ b/src/comp/middle/ty.rs @@ -645,7 +645,7 @@ fn native_item_ty(@ast.native_item it) -> ty_params_and_ty { auto ty_params; auto result_ty; alt (it.node) { - case (ast.native_item_fn(_, _, ?tps, _, ?ann)) { + case (ast.native_item_fn(_, _, _, ?tps, _, ?ann)) { ty_params = tps; result_ty = ann_to_type(ann); } |