File tree 2 files changed +4
-9
lines changed
tasks/transform_conformance
2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 60
60
//! scheme could very easily be derailed entirely by a single mistake, so in my opinion, it's unwise
61
61
//! to edit by hand.
62
62
63
- use std:: path:: PathBuf ;
64
-
65
63
use oxc_allocator:: Allocator ;
66
64
use oxc_ast:: ast:: Program ;
67
65
use oxc_semantic:: SemanticBuilder ;
@@ -147,11 +145,7 @@ pub fn traverse_mut<'a, Tr: Traverse<'a>>(
147
145
source_type : SourceType ,
148
146
allocator : & ' a Allocator ,
149
147
) {
150
- let semantic = SemanticBuilder :: new ( source_text, source_type)
151
- . with_check_syntax_error ( true )
152
- . build_module_record ( PathBuf :: default ( ) , program)
153
- . build ( program)
154
- . semantic ;
148
+ let semantic = SemanticBuilder :: new ( source_text, source_type) . build ( program) . semantic ;
155
149
let ( symbols, scopes) = semantic. into_symbol_table_and_scope_tree ( ) ;
156
150
157
151
let mut ctx = TraverseCtx :: new ( scopes, symbols, allocator) ;
Original file line number Diff line number Diff line change 1
1
commit: 12619ffe
2
2
3
- Passed: 473 /927
3
+ Passed: 472 /927
4
4
5
5
# All Passed:
6
6
* babel-preset-react
@@ -445,10 +445,11 @@ Passed: 473/927
445
445
* opts/optimizeConstEnums/input.ts
446
446
* opts/rewriteImportExtensions/input.ts
447
447
448
- # babel-plugin-transform-typescript (129 /151)
448
+ # babel-plugin-transform-typescript (128 /151)
449
449
* enum/mix-references/input.ts
450
450
* enum/ts5.0-const-foldable/input.ts
451
451
* exports/declared-types/input.ts
452
+ * exports/imported-types/input.ts
452
453
* exports/interface/input.ts
453
454
* imports/elide-no-import-specifiers/input.ts
454
455
* imports/elision-locations/input.ts
You can’t perform that action at this time.
0 commit comments