This doesn't make sense regarding alias this a static function

Steven Schveighoffer schveiguy at gmail.com
Sun May 16 17:22:49 UTC 2021


On 5/16/21 1:19 PM, 12345swordy wrote:
> It part of the test suit that the user jinshill has created.
> ```d
> TIntStatic = 5
> ```
> Works fine. It is just that I am puzzled by this weird edge case.

People can write tests that confirm invalid behavior. I wouldn't take 
the presence of a test as definitive confirmation that the feature 
should exist. Again, though, I'm not sure if it should.

-Steve


More information about the Digitalmars-d mailing list