aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-06-11 12:01:40 +0100
committerGinger Bill <bill@gingerbill.org>2017-06-11 12:01:40 +0100
commitb2fdb69b4dd7f52f42414139a257b3800eb51a90 (patch)
tree5edf1abb568eb59c6c7da9ae25422e4804531a31 /src/check_stmt.cpp
parentaf2736daec0e6579a006bd8d4567c977c8e56c45 (diff)
Named procedure calls
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index d35a49478..80233a38f 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -1583,7 +1583,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
Type *init_type = NULL;
if (vd->type) {
- init_type = check_type_extra(c, vd->type, NULL);
+ init_type = check_type(c, vd->type, NULL);
if (init_type == NULL) {
init_type = t_invalid;
}