Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
26547c3c
Commit
26547c3c
authored
Sep 15, 2025
by
Niklas Mischkulnig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change log level
parent
d1accf2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
linker.rs
turbopack/crates/turbopack-ecmascript/src/analyzer/linker.rs
+1
-1
mod.rs
turbopack/crates/turbopack-ecmascript/src/references/mod.rs
+9
-9
No files found.
turbopack/crates/turbopack-ecmascript/src/analyzer/linker.rs
View file @
26547c3c
...
...
@@ -22,7 +22,7 @@ where
RF
:
'a
+
Future
<
Output
=
Result
<
(
JsValue
,
bool
)
>>
+
Send
,
F
:
'a
+
Fn
(
JsValue
)
->
RF
+
Sync
,
{
let
span
=
tracing
::
info
_span!
(
"link"
,
steps
=
tracing
::
field
::
Empty
);
let
span
=
tracing
::
trace
_span!
(
"link"
,
steps
=
tracing
::
field
::
Empty
);
val
.normalize
();
let
(
val
,
steps
)
=
async
{
link_internal_iterative
(
...
...
turbopack/crates/turbopack-ecmascript/src/references/mod.rs
View file @
26547c3c
...
...
@@ -1054,7 +1054,7 @@ pub async fn analyse_ecmascript_module_internal(
"unexpected Effect::Unreachable in tracing mode"
);
let
_tracing_span
=
tracing
::
info
_span!
(
"handle unreachable"
)
.entered
();
let
_tracing_span
=
tracing
::
trace
_span!
(
"handle unreachable"
)
.entered
();
analysis
.add_code_gen
(
Unreachable
::
new
(
AstPathRange
::
StartAfter
(
start_ast_path
)));
}
...
...
@@ -1220,7 +1220,7 @@ pub async fn analyse_ecmascript_module_internal(
}
anyhow
::
Ok
(())
}
.instrument
(
tracing
::
info
_span!
(
"handle conditional"
))
.instrument
(
tracing
::
trace
_span!
(
"handle conditional"
))
.await
?
;
}
Effect
::
Call
{
...
...
@@ -1255,7 +1255,7 @@ pub async fn analyse_ecmascript_module_internal(
)
.await
}
.instrument
(
tracing
::
info
_span!
(
"handle call"
))
.instrument
(
tracing
::
trace
_span!
(
"handle call"
))
.await
?
;
}
Effect
::
MemberCall
{
...
...
@@ -1329,7 +1329,7 @@ pub async fn analyse_ecmascript_module_internal(
}
anyhow
::
Ok
(())
}
.instrument
(
tracing
::
info
_span!
(
"handle member call"
))
.instrument
(
tracing
::
trace
_span!
(
"handle member call"
))
.await
?
;
}
Effect
::
FreeVar
{
...
...
@@ -1361,7 +1361,7 @@ pub async fn analyse_ecmascript_module_internal(
}
anyhow
::
Ok
(())
}
.instrument
(
tracing
::
info
_span!
(
"handle free var"
))
.instrument
(
tracing
::
trace
_span!
(
"handle free var"
))
.await
?
;
}
Effect
::
Member
{
...
...
@@ -1384,7 +1384,7 @@ pub async fn analyse_ecmascript_module_internal(
handle_member
(
&
ast_path
,
obj
,
prop
,
span
,
analysis_state
,
analysis
)
.await
?
;
anyhow
::
Ok
(())
}
.instrument
(
tracing
::
info
_span!
(
"handle member"
))
.instrument
(
tracing
::
trace
_span!
(
"handle member"
))
.await
?
;
}
Effect
::
ImportedBinding
{
...
...
@@ -1440,7 +1440,7 @@ pub async fn analyse_ecmascript_module_internal(
anyhow
::
Ok
(())
}
.instrument
(
tracing
::
info
_span!
(
"handle imported binding"
))
.instrument
(
tracing
::
trace
_span!
(
"handle imported binding"
))
.await
?
;
}
Effect
::
TypeOf
{
...
...
@@ -1456,7 +1456,7 @@ pub async fn analyse_ecmascript_module_internal(
handle_typeof
(
&
ast_path
,
arg
,
span
,
analysis_state
,
analysis
)
.await
?
;
anyhow
::
Ok
(())
}
.instrument
(
tracing
::
info
_span!
(
"handle typeof"
))
.instrument
(
tracing
::
trace
_span!
(
"handle typeof"
))
.await
?
;
}
Effect
::
ImportMeta
{
...
...
@@ -1476,7 +1476,7 @@ pub async fn analyse_ecmascript_module_internal(
analysis
.add_code_gen
(
ImportMetaRef
::
new
(
ast_path
.into
()));
anyhow
::
Ok
(())
}
.instrument
(
tracing
::
info
_span!
(
"handle import meta"
))
.instrument
(
tracing
::
trace
_span!
(
"handle import meta"
))
.await
?
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment