https://issues.dlang.org/show_bug.cgi?id=12436
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
struct parameter type should not be allowed
https://github.com/D-Programming-Language/dmd/commit/f15bd87f04b2f45cb43256f336156d8515facb46
Merge pull request #3584 from 9rnsr/fix12436
Issue 12436 - Opaque struct parameter type should not be allowed
--
https://issues.dlang.org/show_bug.cgi?id=12436
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #4 from
https://d.puremagic.com/issues/show_bug.cgi?id=12436
--- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-21
15:38:16 PDT ---
There are various other cases not caught yet, even for return types which are
partially checked now. Examples:
-
struct S;
S ret_f1(); //
https://d.puremagic.com/issues/show_bug.cgi?id=12436
Steven Schveighoffer schvei...@yahoo.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=12436
--- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-03-21
17:09:08 PDT ---
(In reply to comment #2)
I would point out that references to opaque structs should compile.
In your examples:
S[]
S[]*
Should compile,