Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SkymanOne committed Apr 30, 2024
1 parent 1861ec7 commit 255b338
Show file tree
Hide file tree
Showing 3 changed files with 311 additions and 147 deletions.
2 changes: 1 addition & 1 deletion crates/emitter/src/expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ fn uint(n: &BigUint, loc: &Span, chunks: &mut Vec<Chunk>, args: &mut EmitArgs) -
let chunk = Chunk::new_single(Instruction::PushInt, c);
chunks.push(chunk);

Ok(TypeVariant::Int.size_hint(args.emitter.definition))
Ok(TypeVariant::Uint.size_hint(args.emitter.definition))
}

/// Handle unsigned integers.
Expand Down
Binary file modified reports/main.pdf
Binary file not shown.
Loading

0 comments on commit 255b338

Please sign in to comment.