Images 💾

Last commit ⭐

commit 79006c03b4aee75cfc52d8cc47c0f45068ee649e
Author:     Lucas CHOLLET <lucas.chollet@free.fr>
AuthorDate: Wed Jan 18 18:52:14 2023 -0500
Commit:     Andrew Kaster <akaster@serenityos.org>
CommitDate: Sat Feb 4 18:47:02 2023 -0700

    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; };`