-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[autostr] chan autostr format is incorrect #26337
Copy link
Copy link
Closed
Labels
Auto str Method GenerationBugs/feature requests, that are related to the automatic string method generation.Bugs/feature requests, that are related to the automatic string method generation.BugThis tag is applied to issues which reports bugs.This tag is applied to issues which reports bugs.Unit: cgenBugs/feature requests, that are related to the default C generating backend.Bugs/feature requests, that are related to the default C generating backend.
Metadata
Metadata
Assignees
Labels
Auto str Method GenerationBugs/feature requests, that are related to the automatic string method generation.Bugs/feature requests, that are related to the automatic string method generation.BugThis tag is applied to issues which reports bugs.This tag is applied to issues which reports bugs.Unit: cgenBugs/feature requests, that are related to the default C generating backend.Bugs/feature requests, that are related to the default C generating backend.
Describe the bug
when use autostr with
chantype, it output a wrong format string. It should proper indent and the type ofclosedis bool, and it should outputtrue/falsenot1/0.This may related to PR #25857
Reproduction Steps
chanx.v
Expected Behavior
Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.5.0 412c7b0
Environment details (OS name and version, etc.)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.