File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/compilers/src/resolver Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl SolData {
5151 let mut imports = Vec :: < Spanned < SolImport > > :: new ( ) ;
5252 let mut libraries = Vec :: new ( ) ;
5353 let mut contract_names = Vec :: new ( ) ;
54- let mut parse_error = Ok ( ( ) ) ;
54+ let mut parse_result = Ok ( ( ) ) ;
5555
5656 let sess = solar_parse:: interface:: Session :: builder ( )
5757 . with_buffer_emitter ( Default :: default ( ) )
@@ -119,7 +119,7 @@ impl SolData {
119119 if let Err ( e) = sess. emitted_diagnostics ( ) . unwrap ( ) {
120120 let e = e. to_string ( ) ;
121121 trace ! ( "failed parsing {file:?}: {e}" ) ;
122- parse_error = Err ( e) ;
122+ parse_result = Err ( e) ;
123123 }
124124 let license = content. lines ( ) . next ( ) . and_then ( |line| {
125125 utils:: capture_outer_and_inner (
@@ -141,7 +141,7 @@ impl SolData {
141141 libraries,
142142 contract_names,
143143 is_yul,
144- parse_result : parse_error ,
144+ parse_result,
145145 }
146146 }
147147
You can’t perform that action at this time.
0 commit comments