diff options
Diffstat (limited to 'tvix/eval/src/compiler/import.rs')
-rw-r--r-- | tvix/eval/src/compiler/import.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tvix/eval/src/compiler/import.rs b/tvix/eval/src/compiler/import.rs index 467fc256afc6..7e1aabbf1f8b 100644 --- a/tvix/eval/src/compiler/import.rs +++ b/tvix/eval/src/compiler/import.rs @@ -77,10 +77,9 @@ async fn import_impl( }); } - // TODO: emit not just the warning kind, hmm - // for warning in result.warnings { - // vm.push_warning(warning); - // } + for warning in result.warnings { + generators::emit_warning(&co, warning).await; + } // Compilation succeeded, we can construct a thunk from whatever it spat // out and return that. |