Exported local variable loose they types and attributes
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start with the Rust reproducer in the issue and inspect how an exported typed local value is represented and displayed. Compare the output with the expected type::Size type and its formatter attribute; done means the exported value preserves both instead of showing only u32. No source file or test is identified in the issue.
Written by the indexing model from the issue text.
Description
Description of the Issue
Exporting a typed local value show it as a native type (without attribute).
Steps to Reproduce the Issue
- Create a new empty file
- Paste this code:
import type.size;
struct Test {
type::Size16 size;
type::Size<u32> life = 42 [[export]];
};
Test exemple @ 0;
- Examine the output
Expected Behavior
Exported value should keep it's type::Size<u32> type and the linked format attribute (from the size type)
Actual Behavior
The value is shown with underlying native type (u32) and the formatter attribute is lost.
Debug Information
ImHex portable on Windows10 x64
ImHex Hex Editor v1.36.2 by WerWolv
Powered by Dear ImGui v1.91.6
v1.36.X@77c1ee3
Compiled on Dec 28 2024 at 15:14:42
- Dominant language
- C++
- Stars
- 278
- Forks
- 77
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 9
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 WerWolv/PatternLanguage
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
WerWolv/PatternLanguage#236 · 12 comments ·
Maintainers usually reply within 2 days
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
WerWolv/PatternLanguage#226 · 3 comments ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
WerWolv/PatternLanguage#221 · 4 comments ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
WerWolv/PatternLanguage#219 ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
WerWolv/PatternLanguage#218 ·
Maintainers usually reply within 2 days
All issues in WerWolv/PatternLanguage
Similar issues
-
agent:WSL bug linux LOW ui
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Copter: PosHold brake-entry threshold became 16 deg instead of 0.16 deg after the radians conversionOpen
Difficulty 1/5 Under an hour Newbie friendliness 78/100
ArduPilot/ardupilot#34617 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
microsoft/microsoft-ui-xaml#12158 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 4 days
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 65/100
SynthstromAudible/DelugeFirmware#4969 ·
Maintainers usually reply within 1 day