From 976415ff9df68ef8b6ecd06d271bef14d63ea90c Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 21 Nov 2017 22:32:41 +0000 Subject: Fix key lookup of pointer to map --- src/check_stmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/check_stmt.cpp') 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; } -- cgit v1.2.3