mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
@@ -37,7 +37,7 @@ auto HandleArrayExpression(Context& context, Parse::Node parse_node) -> bool {
|
||||
if (bound_node.kind() == SemIR::NodeKind::IntegerLiteral) {
|
||||
auto bound_value = context.semantics_ir().GetIntegerLiteral(
|
||||
bound_node.GetAsIntegerLiteral());
|
||||
if (!bound_value.isNegative()) {
|
||||
if (!bound_value.isNegative() && bound_value.getBitWidth() <= 64) {
|
||||
context.AddNodeAndPush(
|
||||
parse_node,
|
||||
SemIR::Node::ArrayType::Make(
|
||||
|
||||
Reference in New Issue
Block a user