@@ -37,7 +37,54 @@ This reverts commit bf08694.`,
3737 footer : []Footer {
3838 {
3939 Tag : "revert" ,
40- Title : "This reverts commit bf08694." ,
40+ Title : "deprecated" ,
41+ Content : "bf08694" ,
42+ },
43+ },
44+ },
45+ {
46+ name : "revert commit with other body" ,
47+ args : args {
48+ message : `Revert "deprecated"
49+ This reverts commit bf08694.
50+
51+ Fixing these warnings, unfortunately also means, that hot code
52+ (which reloads a shared library during runtime) can not use V
53+ constants, because the private static C variables in the shared
54+ library will not be initialized by _vinit(), which is only called
55+ by the main V program.
56+
57+ For example in examples/hot_reload/bounce.v, using 'gx.blue',
58+ defined as:
59+ ' blue = Color { r: 0, g: 0, b: 255 }'
60+ ... will instead use a const with all 0 fields (i.e. a black color).` ,
61+ },
62+ want : Message {
63+ Header : `Revert "deprecated"` ,
64+ Body : `This reverts commit bf08694.
65+
66+ Fixing these warnings, unfortunately also means, that hot code
67+ (which reloads a shared library during runtime) can not use V
68+ constants, because the private static C variables in the shared
69+ library will not be initialized by _vinit(), which is only called
70+ by the main V program.
71+
72+ For example in examples/hot_reload/bounce.v, using 'gx.blue',
73+ defined as:
74+ ' blue = Color { r: 0, g: 0, b: 255 }'
75+ ... will instead use a const with all 0 fields (i.e. a black color).` ,
76+ Footer : []string {},
77+ },
78+ header : Header {
79+ Type : "revert" ,
80+ Scope : "" ,
81+ Subject : "deprecated" ,
82+ Important : false ,
83+ },
84+ footer : []Footer {
85+ {
86+ Tag : "revert" ,
87+ Title : "deprecated" ,
4188 Content : "bf08694" ,
4289 },
4390 },
0 commit comments