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 2947ec6 commit af7cc59Copy full SHA for af7cc59
crates/compilers/src/preprocessor/deps.rs
@@ -186,7 +186,7 @@ impl<'hir> Visit<'hir> for BytecodeDependencyCollector<'hir> {
186
kind: BytecodeDependencyKind::New(name.to_string(), args_len),
187
loc: SourceMapLocation::from_span(
188
self.source_map,
189
- Span::new(expr.span.lo(), expr.span.hi()),
+ expr.span,
190
),
191
referenced_contract: contract_id,
192
});
0 commit comments