Files
ladybird/AK
Linus Groh cbdd069279 AK: Rename the local variable in the TRY() macro to avoid name clashes
"result" is a tad bit too generic to provide a clash-free experience -
we found instances in LibJS where this breaks already. Essentially this
doesn't work:

    auto foo = TRY(bar(result));

Because it expands to the following within the TRY() scope:

    {
        auto result = bar(result);
        ...
    }

And that of course fails:

    error: use of ‘result’ before deduction of ‘auto’

The simple solution here is to use a name that is much less likely to
clash with anything used in the expression ("_temporary_result"). :^)
2021-09-15 23:46:53 +01:00
..
2021-07-14 11:26:34 +04:30
2021-07-12 19:05:17 +01:00
2021-08-24 16:37:28 +02:00
2021-08-07 12:48:22 +02:00
2021-08-08 10:55:36 +02:00
2021-06-24 09:27:13 +02:00
2021-08-07 15:21:58 +02:00
2021-07-22 23:33:21 +02:00
2021-08-31 16:38:22 +02:00
2021-08-19 19:15:00 +01:00
2021-08-27 23:35:27 +04:30
2021-06-24 00:38:23 +02:00