Fix key lookup of pointer to map

This commit is contained in:
gingerBill
2017-11-21 22:32:41 +00:00
parent bcca3bf322
commit 976415ff9d
3 changed files with 6 additions and 2 deletions

View File

@@ -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;
}