From 517c8ff1dd069591e225c6dd047a7d866948131b Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Sun, 28 Nov 2021 02:14:25 +0100 Subject: Include Matrix_Type to the `is_literal_type` switch statement. --- core/odin/parser/parser.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/core/odin/parser/parser.odin b/core/odin/parser/parser.odin index 7660005e0..b151d0188 100644 --- a/core/odin/parser/parser.odin +++ b/core/odin/parser/parser.odin @@ -2825,6 +2825,7 @@ is_literal_type :: proc(expr: ^ast.Expr) -> bool { ast.Dynamic_Array_Type, ast.Map_Type, ast.Bit_Set_Type, + ast.Matrix_Type, ast.Call_Expr: return true } -- cgit v1.2.3