-
-
Notifications
You must be signed in to change notification settings - Fork 4
str produces unexpected pointer behavior #226
Copy link
Copy link
Open
Labels
bugA problem that causes incorrect behavior or crashes.A problem that causes incorrect behavior or crashes.good first issueIssues that are good for newcomers or first-time contributors.Issues that are good for newcomers or first-time contributors.
Metadata
Metadata
Assignees
Labels
bugA problem that causes incorrect behavior or crashes.A problem that causes incorrect behavior or crashes.good first issueIssues that are good for newcomers or first-time contributors.Issues that are good for newcomers or first-time contributors.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Backlog
When using the
&operator on astrvariable, Wave produces unexpected results.Currently,
stris internally treated as ani8*, so applying&creates a pointer-to-pointer (i8**).This leads to confusing output instead of the expected string address or string content.
Steps to Reproduce
Expected Behavior
&msgshould either be:"Hello"), orstris already a pointer type.Actual Behavior
&msgcreates a pointer-to-pointer (i8**), resulting in unexpected values being printed.