https://issues.dlang.org/show_bug.cgi?id=6454
Nick Treleaven changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=6454
Infiltrator changed:
What|Removed |Added
CC||lt.infiltra...@gmail.com
--- Comment #3
http://d.puremagic.com/issues/show_bug.cgi?id=6454
--- Comment #2 from Kenji Hara 2011-09-21 06:40:58 PDT ---
(In reply to comment #0)
> For @property, the return type is inferred even without the auto return type:
>
> struct S {
> @property p() { // missing bool/auto
> return true
http://d.puremagic.com/issues/show_bug.cgi?id=6454
--- Comment #1 from simendsjo 2011-08-08 03:25:06 PDT ---
This also breaks creation of import files. Notice the double @property:
// D import file generated from 't.d'
struct S
{
@property @property p()
{
return true;
}
}
void main();
--