Skip to content

Commit af7cc59

Browse files
grandizzyDaniPopes
andauthored
Update crates/compilers/src/preprocessor/deps.rs
Co-authored-by: DaniPopes <[email protected]>
1 parent 2947ec6 commit af7cc59

File tree

1 file changed

+1
-1
lines changed
  • crates/compilers/src/preprocessor

1 file changed

+1
-1
lines changed

crates/compilers/src/preprocessor/deps.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ impl<'hir> Visit<'hir> for BytecodeDependencyCollector<'hir> {
186186
kind: BytecodeDependencyKind::New(name.to_string(), args_len),
187187
loc: SourceMapLocation::from_span(
188188
self.source_map,
189-
Span::new(expr.span.lo(), expr.span.hi()),
189+
expr.span,
190190
),
191191
referenced_contract: contract_id,
192192
});

0 commit comments

Comments
 (0)