How to get the typed AST of a function's code?

The LambdaInfo object returned by code_typed contains a code field, but it seems to be a compressed byte array of type Array{UInt8, 1}. Is there any way to get the uncompressed code (hopefully typed) as an array of statements?

It’s not very well documented yet, but there is:
You might want to look into the runtest or, to see more of Sugar’s features!

Fantastic! Looks like this is exactly what I need. Thanks a lot!