File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
trunk/src/comp/syntax/print Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 36c4cb37ad3d96897f229f2af48c76c018bb680e
2
+ refs/heads/master: 7060f4c89c76f9f715b706b81545c7a082d7c50c
Original file line number Diff line number Diff line change @@ -1499,8 +1499,9 @@ fn next_comment(&ps s) -> option::t[lexer::cmnt] {
1499
1499
}
1500
1500
}
1501
1501
1502
-
1503
- fn constr_args_to_str[ T ] ( fn ( & T ) -> str f,
1502
+ // Removing the aliases from the type of f in the next two functions
1503
+ // triggers memory corruption, but I haven't isolated the bug yet. FIXME
1504
+ fn constr_args_to_str[ T ] ( & fn ( & T ) -> str f,
1504
1505
& ( @ast:: constr_arg_general[ T ] ) [ ] args) -> str {
1505
1506
auto comma = false ;
1506
1507
auto s = "(" ;
@@ -1512,7 +1513,7 @@ fn constr_args_to_str[T](fn(&T) -> str f,
1512
1513
ret s;
1513
1514
}
1514
1515
1515
- fn constr_arg_to_str[ T ] ( fn ( & T ) -> str f, & ast:: constr_arg_general_[ T ] c) ->
1516
+ fn constr_arg_to_str[ T ] ( & fn ( & T ) -> str f, & ast:: constr_arg_general_[ T ] c) ->
1516
1517
str {
1517
1518
alt ( c) {
1518
1519
case ( ast:: carg_base) { ret "* "; }
You can’t perform that action at this time.
0 commit comments