Cannot have comments in `@PCode`
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
Research direction
Start with src/internal/as2_codegen/statement.rs, especially the reported line 110, and trace how @PCode actions are parsed and reported. Check for existing tests covering inline PCode and diagnostics. Done means comments in the example are accepted and invalid actions produce a more specific error.
Written by the indexing model from the issue text.
Description
The following code fails with the following panic.
@PCode {
// hello
Push 0
Trace
}
thread 'main' ([...]) panicked at [...]/rascal-0.3.5/src/internal/as2_codegen/statement.rs:110:37:
error: invalid action name
╭▸ inline pcode
│
It would be nice if:
- the error message was more specific,
- comments were supported in
@PCodeblocks.
- Dominant language
- Rust
- Stars
- 22
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Dinnerbone/Rascal
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Dinnerbone/Rascal#91 · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
Dinnerbone/Rascal#88 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Dinnerbone/Rascal#87 ·
-
Difficulty 4/5 1-2 days Newbie friendliness 48/100
Dinnerbone/Rascal#71 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Dinnerbone/Rascal#1 ·
All issues in Dinnerbone/Rascal
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug i18n priority: medium ui
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
storytold/craft-anything#983 · 1 comment ·
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pbakaus/impeccable#1328 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
higress-group/HiRoute#405 ·
Maintainers usually reply within 1 day
-
rust_analyzer flycheck: no CLI way to enable clippy from `check.overrideCommand`Possibly taken @TrapsterDK claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
bazelbuild/rules_rust#4392 ·
Maintainers usually reply within 2 days