Luke Wilde
Luke Wilde
For example: ``` function foo() { yield 1; } function main() { foo(); } ``` Generates: ```cpp #include static void foo(); static void foo() { using _JaktCurrentFunctionReturnType = void; ({...
Parser infinite loop when parsing unsupported match body expression that is surrounded by brackets
This causes the parser to go into an infinite loop: ``` function main() { match foo { (++foo) => 1 } } ``` Removing the `()` around `++foo` makes it...
This causes an infinite loop in the parser: ```jakt function foo() { return {1:1} } ``` Removing `return` makes it error out correctly: ``` ----- function foo() { {1:1} }...
For example: ``` function foo() ```
Marked as draft as I'm not sure how to test this. Previously, if the return type was unknown, we would infer the return type from the last return statement in...
This assumes that there is a document: https://github.com/SerenityOS/serenity/blob/5b56f3ed5b153bd70c3845ce785c9e4a0f643505/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp#L2389 However, this may not always be the case, such as inserting an import rule with CSSRuleList: https://github.com/SerenityOS/serenity/blob/5b56f3ed5b153bd70c3845ce785c9e4a0f643505/Userland/Libraries/LibWeb/CSS/CSSRuleList.cpp#L44
The MDN contributor logo (https://developer.mozilla.org/assets/mdn_contributor.png) appears corrupted:  Expected: 
Currently we cannot visit or create a handle for a PropertyKey. This is a severe issue, since PropertyKey can store Symbols. If these Symbols are custom, they can be stored...
When I press back or forward on my mouse, Ladybird crashes with: ``` ladybird: /home/lukew/Desktop/serenity-project/serenity/Userland/Libraries/LibWeb/UIEvents/MouseEvent.cpp:40: i16 Web::UIEvents::determine_button(unsigned int): Assertion `false' failed ```
Trying to create a WebGL context crashes when trying to load LibSoftGPU: ``` ladybird: /home/lukew/Desktop/serenity-project/serenity/Userland/Libraries/LibGL/GLContext.cpp:1230: AK::NonnullOwnPtr GL::create_context(Gfx::Bitmap&): Assertion `!_temporary_result.is_error()' failed. ``` https://github.com/SerenityOS/serenity/blob/5bbd5e7322f107aae5e62983b5c50c0d01163d57/Userland/Libraries/LibGL/GLContext.cpp#L1230