Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.6
-
None
-
Patch Available
Description
The generated validate() method is indented to the wrong level, making it an internal/unusable method inside the write() method of a struct
Looks like the line to generate the validator just needs to move down a couple lines, past an indent_down() call. I have a patch that fixes this.