• T
    Use annotations on blocks · 0cbcf927
    Tim Chevalier 提交于
    Previously, block_ty returned the type of the terminating
    expression of the block (or nil if said expression was absent).
    I changed check_expr to write the type of that expression into
    the annotation for the block itself, so now block_ty can use the
    block's annotation.
    0cbcf927
ty.rs 96.0 KB