April 26, 2019 rewrite auto in visual D | ||||
---|---|---|---|---|
| ||||
thinks like intellisense and mouse highlighting show auto instead of the actual type. Can Visual D resolve these causes? |
April 26, 2019 Re: rewrite auto in visual D | ||||
---|---|---|---|---|
| ||||
Posted in reply to Craig |
On 26/04/2019 03:01, Craig wrote:
> thinks like intellisense and mouse highlighting show auto instead of the actual type. Can Visual D resolve these causes?
AFAICT it already does that if it manages to infer the type (but adds "auto" as a storage class), e.g.
auto outBuffer = new char[dwSize+1];
shows "auto char[]" in the tool tip for outBuffer. It's known to fail for some complex cases, though, e.g. with the return type of multiple function overloads.
|
Copyright © 1999-2021 by the D Language Foundation