aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime/type.h')
-rw-r--r--src/pkg/runtime/type.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pkg/runtime/type.h b/src/pkg/runtime/type.h
index 2eda291aed..1da37323eb 100644
--- a/src/pkg/runtime/type.h
+++ b/src/pkg/runtime/type.h
@@ -66,14 +66,14 @@ struct IMethod
struct InterfaceType
{
- Type;
+ Type typ;
Slice mhdr;
IMethod m[];
};
struct MapType
{
- Type;
+ Type typ;
Type *key;
Type *elem;
Type *bucket; // internal type representing a hash bucket
@@ -87,20 +87,20 @@ struct MapType
struct ChanType
{
- Type;
+ Type typ;
Type *elem;
uintptr dir;
};
struct SliceType
{
- Type;
+ Type typ;
Type *elem;
};
struct FuncType
{
- Type;
+ Type typ;
bool dotdotdot;
Slice in;
Slice out;
@@ -108,6 +108,6 @@ struct FuncType
struct PtrType
{
- Type;
+ Type typ;
Type *elem;
};