mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
LibJS: Unbreak build with JS_MODULE_DEBUG
Thanks to David for noticing this! :^)
This commit is contained in:
parent
11375b35e8
commit
7ad4702cbf
1 changed files with 1 additions and 1 deletions
|
@ -848,7 +848,7 @@ ThrowCompletionOr<NonnullRefPtr<Module>> VM::resolve_imported_module(ScriptOrMod
|
||||||
[&](Empty) -> String {
|
[&](Empty) -> String {
|
||||||
return ".";
|
return ".";
|
||||||
},
|
},
|
||||||
[&](auto* script_or_module) {
|
[&](auto& script_or_module) {
|
||||||
if constexpr (IsSame<Script*, decltype(script_or_module)>) {
|
if constexpr (IsSame<Script*, decltype(script_or_module)>) {
|
||||||
return String::formatted("Script @ {}", script_or_module);
|
return String::formatted("Script @ {}", script_or_module);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue