aboutsummaryrefslogtreecommitdiff
path: root/src/checker/stmt.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-11-23 12:03:26 +0000
committerGinger Bill <bill@gingerbill.org>2016-11-23 12:03:26 +0000
commitef8563a818812493c33e34a259189757d0e7612b (patch)
tree0f83027c0d8238d8132a53b8ccfdb3b5055e2b8b /src/checker/stmt.cpp
parentaa2bcb166f2f0356dceb4e9424223ccbd483faf0 (diff)
Remove auto
Diffstat (limited to 'src/checker/stmt.cpp')
-rw-r--r--src/checker/stmt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checker/stmt.cpp b/src/checker/stmt.cpp
index 9a5f820cf..b49d8de23 100644
--- a/src/checker/stmt.cpp
+++ b/src/checker/stmt.cpp
@@ -441,7 +441,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
if (o.type->kind != Type_Tuple) {
array_add(&operands, o);
} else {
- auto *tuple = &o.type->Tuple;
+ TypeTuple *tuple = &o.type->Tuple;
for (isize j = 0; j < tuple->variable_count; j++) {
o.type = tuple->variables[j]->type;
array_add(&operands, o);
@@ -553,7 +553,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) {
if (result_count > 0) {
Entity **variables = NULL;
if (proc_type->Proc.results != NULL) {
- auto *tuple = &proc_type->Proc.results->Tuple;
+ TypeTuple *tuple = &proc_type->Proc.results->Tuple;
variables = tuple->variables;
}
if (rs->results.count == 0) {