ladybird/Userland/DevTools
Ali Mohammad Pur 51c2c69357 AK+Everywhere: Disallow constructing Functions from incompatible types
Previously, AK::Function would accept _any_ callable type, and try to
call it when called, first with the given set of arguments, then with
zero arguments, and if all of those failed, it would simply not call the
function and **return a value-constructed Out type**.
This lead to many, many, many hard to debug situations when someone
forgot a `const` in their lambda argument types, and many cases of
people taking zero arguments in their lambdas to ignore them.
This commit reworks the Function interface to not include any such
surprising behaviour, if your function instance is not callable with
the declared argument set of the Function, it can simply not be
assigned to that Function instance, end of story.
2021-06-06 00:27:30 +04:30
..
HackStudio AK+Everywhere: Disallow constructing Functions from incompatible types 2021-06-06 00:27:30 +04:30
Inspector Inspector: Check if RemoteProcess is_inspectable 2021-06-02 11:19:04 +02:00
IPCCompiler IPCCompiler: Fix declaration of static functions 2021-05-14 22:24:02 +02:00
Playground LibGUI: Fix off-by-one error in Lexer tokens 2021-06-05 00:32:28 +04:30
Profiler Profiler: Show the duration of the time interval chosen 2021-06-04 09:30:22 +02:00
StateMachineGenerator Userland: Change typedef to using directive 2021-05-21 10:07:22 +01:00
UserspaceEmulator Everywhere: Sort out superfluous QuickSort.h imports 2021-05-29 23:41:54 +01:00
CMakeLists.txt DevTools: Move to Userland/DevTools/ 2021-01-12 12:18:55 +01:00