diff options
| author | gingerBill <bill@gingerbill.org> | 2017-11-21 22:32:41 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-11-21 22:32:41 +0000 |
| commit | 976415ff9df68ef8b6ecd06d271bef14d63ea90c (patch) | |
| tree | 4a5c134f79e0b91f16e7da4f1ff458a0a3379c88 /src/check_stmt.cpp | |
| parent | bcca3bf3221e1b83f804029e53855cbfc2450baf (diff) | |
Fix key lookup of pointer to map
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 13c3f2624..a04679b3a 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1281,7 +1281,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) { if (!is_type_ordered(x.type)) { gbString str = type_to_string(x.type); - error(x.expr, "Unordered type '%s', is invalid for an interval expression", str); + error(expr, "Unordered type '%s', is invalid for an interval expression", str); gb_string_free(str); continue; } |