diff options
author | Flier Lu <flier.lu@gmail.com> | 2018-09-01 00:55:43 +0800 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2018-09-10 13:04:28 +0200 |
commit | 83751c8789b027c7b643e2d01768930c35241712 (patch) | |
tree | a22da09a7e9cd5cd3b54f559b1b0b311edab321c /src/codegen/impl_debug.rs | |
parent | f5368b3b7d888fc756bae8c22574867579ecabd7 (diff) |
generate type alias for the `block` type
Diffstat (limited to 'src/codegen/impl_debug.rs')
-rw-r--r-- | src/codegen/impl_debug.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen/impl_debug.rs b/src/codegen/impl_debug.rs index 077d5737..0f8e4d96 100644 --- a/src/codegen/impl_debug.rs +++ b/src/codegen/impl_debug.rs @@ -156,7 +156,6 @@ impl<'a> ImplDebug<'a> for Item { TypeKind::Function(..) | TypeKind::Enum(..) | TypeKind::Reference(..) | - TypeKind::BlockPointer | TypeKind::UnresolvedTypeRef(..) | TypeKind::ObjCInterface(..) | TypeKind::ObjCId | @@ -227,7 +226,8 @@ impl<'a> ImplDebug<'a> for Item { TypeKind::ResolvedTypeRef(t) | TypeKind::TemplateAlias(t, _) | - TypeKind::Alias(t) => { + TypeKind::Alias(t) | + TypeKind::BlockPointer(t) => { // We follow the aliases ctx.resolve_item(t).impl_debug(ctx, name) } |