finally starting on the crescendo: requests and replies.

This commit is contained in:
Andrew Gallant (Ocelot)
2012-05-02 01:46:30 -04:00
parent f48b6fafc6
commit 39507f86ab
11 changed files with 153 additions and 48 deletions

View File

@@ -102,8 +102,10 @@ func (f *ListField) Size() Size {
return newExpressionSize(simpleLen)
case *Resource:
return newExpressionSize(simpleLen)
case *TypeDef:
return newExpressionSize(simpleLen)
default:
log.Fatalf("Cannot compute list size with type '%T'.", f.Type)
log.Panicf("Cannot compute list size with type '%T'.", f.Type)
}
panic("unreachable")
}