Luke Wilde

Results 46 issues of Luke Wilde

For example: ``` function foo() { yield 1; } function main() { foo(); } ``` Generates: ```cpp #include static void foo(); static void foo() { using _JaktCurrentFunctionReturnType = void; ({...

bug
codegen

This causes the parser to go into an infinite loop: ``` function main() { match foo { (++foo) => 1 } } ``` Removing the `()` around `++foo` makes it...

bug
parser

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} }...

bug
parser

For example: ``` function foo() ```

bug
parser

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

bug

The MDN contributor logo (https://developer.mozilla.org/assets/mdn_contributor.png) appears corrupted: ![Screenshot from 2022-06-20 16-43-16](https://user-images.githubusercontent.com/25595356/174638299-c4040964-1a81-42d8-b494-8c6738fd7e09.png) Expected: ![image](https://user-images.githubusercontent.com/25595356/174638333-586df928-b283-4ede-bd38-74c3b19e78b5.png)

bug

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...

bug
security

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