forked from All-Hands-AI/OpenHands
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# User requirements: | ||
|
||
1. Fix "Parser error." - The parser must succeed. | ||
2. IMPORTANT: As you inspect the bug, YOU MUST find out exactly which AST node it failed to parse and, more IMPORTANTLY, which node it parsed PREVIOUSLY. Understanding parser problems requires understanding which production rule we are in and that requires knowing the current as well as previous tokens. Only once you fully understand the failing context, propose a fix. | ||
|
||
|
||
## Supplementary Information | ||
Here are all caught and uncaught errors in the recording. Maybe you can use them: | ||
```js | ||
[ | ||
{ | ||
"point": "16550446236665572707685049477103635", | ||
"error": `Expected number, identifier, '(', or '[', got equals | ||
at parseFactor (http://localhost:5173/src/parser/parseFactor.ts:23:11) | ||
at parseTerm (http://localhost:5173/src/parser/parseTerm.ts:4:14) | ||
at parseExpression (http://localhost:5173/src/parser/parseExpression.ts:4:14) | ||
at parseStatement (http://localhost:5173/src/parser/parseStatement.ts:44:10) | ||
at parseBlock (http://localhost:5173/src/parser/parseBlock.ts:31:23) | ||
at parseFunctionDeclaration (http://localhost:5173/src/parser/parseFunctionDeclaration.ts:50:16) | ||
at parseStatement (http://localhost:5173/src/parser/parseStatement.ts:29:12) | ||
at parseProgram (http://localhost:5173/src/parser/parseProgram.ts:22:23) | ||
at Parser.parse (http://localhost:5173/src/parser/parser.ts:41:19) | ||
at Parser.step (http://localhost:5173/src/parser/parser.ts:52:12)` | ||
} | ||
] | ||
``` | ||
|
||
|
||
Bug recording: https://app.replay.io/recording/98d54a0b-bf17-443d-b819-ff0496487a0a?point=16550446236665572707685049477103635 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
After entering Debug Mode, the `Info Panel` always shows "Move mouse over canvas". | ||
|
||
Bug recording: https://app.replay.io/recording/localhost5173--66ae7539-a7d9-455c-8717-bfcf7446fb72?point=24987928631798923478451981991804943&primaryPanel=comments&secondaryPanel=console&time=10272.391981449624 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters