[Issue 20233] opDispatch hides alias this properties
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Sep 21 07:36:50 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20233
Max Samukha <maxsamukha at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maxsamukha at gmail.com
--- Comment #2 from Max Samukha <maxsamukha at gmail.com> ---
It fails because you are trying apply a function call to a property. The error
message is utterly misleading, though:
void main()
{
int[2] x;
x.ptr();
}
test.d(22): Error: no property ptr for type int[2] // wtf?
--
More information about the Digitalmars-d-bugs
mailing list