File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,12 @@ pub mod oxc {
2323 let source_type = SourceType :: from_path ( path) . unwrap ( ) ;
2424 let ret = Parser :: new ( & allocator, source_text, source_type) . parse ( ) ;
2525 let mut program = ret. program ;
26- let ( symbols , scopes ) = SemanticBuilder :: new ( )
26+ let scoping = SemanticBuilder :: new ( )
2727 . build ( & program)
2828 . semantic
29- . into_symbol_table_and_scope_tree ( ) ;
30- let ret = Transformer :: new ( & allocator, path, options) . build_with_symbols_and_scopes (
31- symbols,
32- scopes,
33- & mut program,
34- ) ;
29+ . into_scoping ( ) ;
30+ let ret =
31+ Transformer :: new ( & allocator, path, options) . build_with_scoping ( scoping, & mut program) ;
3532 assert ! ( ret. errors. is_empty( ) ) ;
3633 let printed = CodeGenerator :: new ( ) . build ( & program) . code ;
3734
You can’t perform that action at this time.
0 commit comments