Port the compiler to the typaram foo<T> syntax.

This commit is contained in:
Erick Tryzelaar 2011-08-12 07:15:18 -07:00 committed by Graydon Hoare
parent f764f9a8cf
commit e4a0f997fb
51 changed files with 568 additions and 568 deletions

View file

@ -56,7 +56,7 @@ fn lookup_hash(d: &ebml::doc, eq_fn: fn(&[u8]) -> bool , hash: uint) ->
}
fn maybe_find_item(item_id: int, items: &ebml::doc) ->
option::t[ebml::doc] {
option::t<ebml::doc> {
fn eq_item(bytes: &[u8], item_id: int) -> bool {
ret ebml::be_uint_from_bytes(@bytes, 0u, 4u) as int == item_id;
}