mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix #1992 size_of a relative slice crashes the compiler
This commit is contained in:
@@ -9586,6 +9586,7 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
|
|||||||
case Ast_MapType:
|
case Ast_MapType:
|
||||||
case Ast_BitSetType:
|
case Ast_BitSetType:
|
||||||
case Ast_MatrixType:
|
case Ast_MatrixType:
|
||||||
|
case Ast_RelativeType:
|
||||||
o->mode = Addressing_Type;
|
o->mode = Addressing_Type;
|
||||||
o->type = check_type(c, node);
|
o->type = check_type(c, node);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user