File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 83f758cf0dfaefc2ebb3a26404e8a9e009847af7
2
+ refs/heads/master: 4ce4d8857fdc392caa6ab3fa217a6a733c91586c
Original file line number Diff line number Diff line change @@ -148,17 +148,19 @@ fn ty_to_str(&@t typ) -> str {
148
148
}
149
149
150
150
alt ( typ. struct ) {
151
- case ( ty_native) { s = "native" ; }
152
- case ( ty_nil) { s = "()" ; }
153
- case ( ty_bool) { s = "bool" ; }
154
- case ( ty_int) { s = "int" ; }
155
- case ( ty_uint) { s = "uint" ; }
156
- case ( ty_machine ( ?tm) ) { s = common. ty_mach_to_str ( tm) ; }
157
- case ( ty_char) { s = "char" ; }
158
- case ( ty_str) { s = "str" ; }
159
- case ( ty_box ( ?t) ) { s = "@" + ty_to_str ( t) ; }
160
- case ( ty_vec ( ?t) ) { s = "vec[" + ty_to_str ( t) + "]" ; }
161
- case ( ty_type) { s = "type" ; }
151
+ case ( ty_native) { s = "native" ; }
152
+ case ( ty_nil) { s = "()" ; }
153
+ case ( ty_bool) { s = "bool" ; }
154
+ case ( ty_int) { s = "int" ; }
155
+ case ( ty_uint) { s = "uint" ; }
156
+ case ( ty_machine ( ?tm) ) { s = common. ty_mach_to_str ( tm) ; }
157
+ case ( ty_char) { s = "char" ; }
158
+ case ( ty_str) { s = "str" ; }
159
+ case ( ty_box ( ?t) ) { s = "@" + ty_to_str ( t) ; }
160
+ case ( ty_vec ( ?t) ) { s = "vec[" + ty_to_str ( t) + "]" ; }
161
+ case ( ty_port ( ?t) ) { s = "port[" + ty_to_str ( t) + "]" ; }
162
+ case ( ty_chan ( ?t) ) { s = "chan[" + ty_to_str ( t) + "]" ; }
163
+ case ( ty_type) { s = "type" ; }
162
164
163
165
case ( ty_tup ( ?elems) ) {
164
166
auto f = ty_to_str;
You can’t perform that action at this time.
0 commit comments