mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
LibWeb: Print correct value types in ComponentValue debug string
Block and Function names were swapped.
This commit is contained in:
parent
65afa113e5
commit
6291821489
1 changed files with 2 additions and 2 deletions
|
@ -41,10 +41,10 @@ String ComponentValue::to_debug_string() const
|
|||
return String::formatted("Token: {}", token.to_debug_string());
|
||||
},
|
||||
[](NonnullRefPtr<Block> const& block) {
|
||||
return String::formatted("Function: {}", block->to_string());
|
||||
return String::formatted("Block: {}", block->to_string());
|
||||
},
|
||||
[](NonnullRefPtr<Function> const& function) {
|
||||
return String::formatted("Block: {}", function->to_string());
|
||||
return String::formatted("Function: {}", function->to_string());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue