mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-04 20:17:48 +00:00
Allow parsing for [^]T{} to improve error messages
This commit is contained in:
@@ -2526,6 +2526,9 @@ bool is_literal_type(Ast *node) {
|
||||
case Ast_BitSetType:
|
||||
case Ast_CallExpr:
|
||||
return true;
|
||||
case Ast_MultiPointerType:
|
||||
// For better error messages
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user