We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe1f3b commit e79c952Copy full SHA for e79c952
generator/ConstraintGenerator.cpp
@@ -672,7 +672,8 @@ bool ConstraintGenerator::visit(ArrayAccessAST* ast)
672
ENSURE_NONEMPTY_TYPE_STACK(return false);
673
writer_->writeEquivRel(types_.top(), std::get<2>(a1a2a3));
674
675
- writer_->writeEquivRel(std::get<1>(a1a2a3), kSizeTy);
+ /* used to be kSizeTy, but size_t is not built-in */
676
+ writer_->writeEquivRel(std::get<1>(a1a2a3), kIntTy);
677
678
return false;
679
}
0 commit comments