aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-02-11 11:13:52 +0000
committergingerBill <bill@gingerbill.org>2018-02-11 11:13:52 +0000
commit0ae3484171ec6f2876c1ff16102c8e92853c6632 (patch)
tree5668ecd8b4cf809ef31de61b55f6806731e91d2a /src/check_decl.cpp
parent54976c3249065e846ec29588c5c69e7013fe1e8f (diff)
Fix zero value initialization in IR
Diffstat (limited to 'src/check_decl.cpp')
-rw-r--r--src/check_decl.cpp2
1 files changed, 1 insertions, 1 deletions
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");