CINT type mistake: bug or feature?

Hi,

by mistake, I typed instead of

Double_t *x = new Double_t[100];

the line

Double_t x = new Double_t[100];

this line is accepted by CINT with no problem, but later, at line

    x[i] = i;

an “illegal index” error message is displayed.
Is this a bug or a feature?

Thanks

Janos

Hello ,

Thank you for reporting this problem. This is a bug. I’ll take a look.

Thank you
Masa goto