mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 02:20:29 +00:00
1 parent
cce013b43e
commit
6f02efe1d3
2 files changed
+49
-1
No files matched your search
@@ -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