<div dir="ltr">Hi All,<div><br></div><div style>Currently the s_foo variable below:</div><div style><br></div><div style><div> struct DefaultArgClass</div><div> {</div><div> DefaultArgClass(int a = 1) {}</div><div>
};</div><div><br></div><div style> static DefaultArgClass s_foo;</div><div style><br></div><div style>Will be printed as:</div><div style><br></div><div style> static DefaultArgClass s_foo();</div><div style><br>
</div><div style>This is due to the default argument not being correctly determined as implicit. The fix and test case are attached for review (and commit if it LGTY).</div><div style><br></div><div style>- Will.</div><div style>
<br></div></div></div>