summaryrefslogtreecommitdiff
path: root/src/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.h')
-rw-r--r--src/ir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir.h b/src/ir.h
index d68cd141..4e49a09e 100644
--- a/src/ir.h
+++ b/src/ir.h
@@ -378,7 +378,7 @@ struct Catch {
typedef std::vector<Catch> CatchVector;
enum class TryKind {
- Invalid,
+ Plain,
Catch,
Delegate
};
@@ -603,7 +603,7 @@ class IfExpr : public ExprMixin<ExprType::If> {
class TryExpr : public ExprMixin<ExprType::Try> {
public:
explicit TryExpr(const Location& loc = Location())
- : ExprMixin<ExprType::Try>(loc), kind(TryKind::Invalid) {}
+ : ExprMixin<ExprType::Try>(loc), kind(TryKind::Plain) {}
TryKind kind;
Block block;