Unverified Commit 40a10943 authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Turbopack: fix task data category (#78873)

### What?

fix a debug assertion in the test suite due to a wrong task data
category
parent f07ef56a
...@@ -421,7 +421,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> { ...@@ -421,7 +421,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
} }
let mut ctx = self.execute_context(turbo_tasks); let mut ctx = self.execute_context(turbo_tasks);
let mut task = ctx.task(task_id, TaskDataCategory::Meta); let mut task = ctx.task(task_id, TaskDataCategory::All);
fn listen_to_done_event<B: BackingStorage>( fn listen_to_done_event<B: BackingStorage>(
this: &TurboTasksBackendInner<B>, this: &TurboTasksBackendInner<B>,
...@@ -492,7 +492,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> { ...@@ -492,7 +492,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
&mut ctx, &mut ctx,
); );
} }
task = ctx.task(task_id, TaskDataCategory::Meta); task = ctx.task(task_id, TaskDataCategory::All);
} }
let is_dirty = let is_dirty =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment