Bug 11217 – Header generation does not output 'inout' storage class on parameters

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-10T07:29:00Z
Last change time
2013-10-22T13:46:36Z
Keywords
pull, wrong-code
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2013-10-10T07:29:27Z
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' { } }
Comment #1 by k.hara.pg — 2013-10-10T07:35:40Z
Comment #2 by github-bugzilla — 2013-10-22T13:46:13Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e9c4e41bb8fa5e63a5b294aa028317b66abee611 fix Issue 11217 - Header generation does not output 'inout' storage class on parameters https://github.com/D-Programming-Language/dmd/commit/81fd5b3afef42a9ebb48d5efaf4a084eb5c5c825 Merge pull request #2648 from 9rnsr/fix11217 Issue 11217 - Header generation does not output 'inout' storage class on parameters