From 0ae3484171ec6f2876c1ff16102c8e92853c6632 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 11 Feb 2018 11:13:52 +0000 Subject: Fix zero value initialization in IR --- src/check_decl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/check_decl.cpp') diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 0c4ff6735..7ac2cd7ac 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -305,7 +305,7 @@ void check_const_decl(Checker *c, Entity *e, AstNode *type_expr, AstNode *init, return; } - // NOTE(bill): Check to see if the expression it to be aliases + // NOTE(bill): Check to see if the expression it to be aliases case Addressing_Builtin: if (e->type != nullptr) { error(type_expr, "A constant alias of a built-in procedure may not have a type initializer"); -- cgit v1.2.3