Fix compilation errors due to missing Type::Kind member
This commit is contained in:
parent
5cd4cc3e84
commit
aa23420c5f
1 changed files with 8 additions and 0 deletions
|
@ -146,6 +146,8 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
static constexpr const TypeKind Kind = TypeKind::Var;
|
||||
|
||||
};
|
||||
|
||||
class TCon : public Type {
|
||||
|
@ -161,6 +163,8 @@ public:
|
|||
return Name;
|
||||
}
|
||||
|
||||
static constexpr const TypeKind Kind = TypeKind::Con;
|
||||
|
||||
};
|
||||
|
||||
class TFun : public Type {
|
||||
|
@ -181,6 +185,8 @@ public:
|
|||
return Right;
|
||||
}
|
||||
|
||||
static constexpr const TypeKind Kind = TypeKind::Fun;
|
||||
|
||||
};
|
||||
|
||||
class TApp : public Type {
|
||||
|
@ -201,6 +207,8 @@ public:
|
|||
return Right;
|
||||
}
|
||||
|
||||
static constexpr const TypeKind Kind = TypeKind::App;
|
||||
|
||||
};
|
||||
|
||||
struct TypeScheme {
|
||||
|
|
Loading…
Reference in a new issue