Skip to content

Commit df5b212

Browse files
committed
typeComparison scratch slot
1 parent 9dc1de8 commit df5b212

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/compiler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5628,6 +5628,7 @@ export default class Compiler {
56285628
chain[2].getName() === 'value'
56295629
) {
56305630
this.processNode(chain[1].getArguments()[0]);
5631+
typeComparison(this.lastType, StackType.uint64);
56315632
}
56325633
// else if this is a static scratch slot
56335634
else if (chain[1].isKind(ts.SyntaxKind.PropertyAccessExpression) && chain[1].getName() === 'value') {

0 commit comments

Comments
 (0)