Skip to content

Commit

Permalink
Include Matrix_Type to the is_literal_type switch statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielGavin committed Nov 28, 2021
1 parent 2b07afa commit 517c8ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/odin/parser/parser.odin
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 517c8ff

Please sign in to comment.