http://d.puremagic.com/issues/show_bug.cgi?id=11217
Summary: Header generation does not output 'inout' storage
class on parameters
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: wrong-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Kenji Hara <[email protected]> 2013-10-10 07:29:27 PDT ---
Test case:
void foo()( const int[] arr) {} ///
void foo()(immutable int[] arr) {} ///
void foo()( ref int[] arr) {} ///
void foo()( lazy int[] arr) {} ///
void foo()( auto ref int[] arr) {} ///
void foo()( scope int[] arr) {} ///
void foo()( in int[] arr) {} ///
void foo()( inout int[] arr) {} ///
For the last 'foo', compiler outputs following declaration in di file:
template foo()
{
void foo(int[] arr) // missing 'inout'
{
}
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------