ladybird/Userland/Libraries/LibXML/Parser
Lucas CHOLLET 79006c03b4 AK: Check the return type in IsCallableWithArguments
Template argument are checked to ensure that the `Out` type is equal or
convertible to the type returned by the invokee.

Compilation now fails on:
`Function<void()> f = []() -> int { return 0; };`

But this is allowed:
`Function<ErrorOr<int>()> f = []() -> int { return 0; };`
2023-02-04 18:47:02 -07:00
..
Parser.cpp AK: Check the return type in IsCallableWithArguments 2023-02-04 18:47:02 -07:00
Parser.h AK: Check the return type in IsCallableWithArguments 2023-02-04 18:47:02 -07:00