Skip to content

Commit 4c80120

Browse files
committed
---
yaml --- r: 2518 b: refs/heads/master c: e888fe6 h: refs/heads/master v: v3
1 parent 4810f4c commit 4c80120

File tree

3 files changed

+119
-86
lines changed

3 files changed

+119
-86
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: 2f440b1452f79a670d2927abd42f95b79272c5d9
2+
refs/heads/master: e888fe6f9b8ed0c47df2ed17e50c2d391c1dc647

trunk/src/comp/middle/ty.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,8 +1504,8 @@ fn ann_to_monotype(ctxt cx, &node_type_table ntt, ast::ann a) -> t {
15041504
}
15051505

15061506
// Turns a type into an ann_type, using defaults for other fields.
1507-
fn triv_ann(&ast::ann old, t typ) -> ast::ann {
1508-
ret ast::ann_type(ast::ann_tag(old), typ, none[vec[t]], none[@ts_ann]);
1507+
fn triv_ann(uint node_id, t typ) -> ast::ann {
1508+
ret ast::ann_type(node_id, typ, none[vec[t]], none[@ts_ann]);
15091509
}
15101510

15111511
// Returns the number of distinct type parameters in the given type.

0 commit comments

Comments
 (0)