On Wed, 17 Jun 2020, Johannes Berg wrote:

> On Wed, 2020-06-17 at 23:19 +0200, Johannes Berg wrote:
> > On Wed, 2020-06-17 at 23:15 +0200, Julia Lawall wrote:
> > > > +T x;
> > >
> > > Change the + to ++
>
> Heh, something funny happened
>
> + u16 *foo;
> + u16[2] bar;
>
> ... some code ...
>
> -u16 *foo;
> -u16 *bar[2];
>
>
> What happened to the array index?
>
> I guess ... at some level I even understand it, that's a property of the
> type, and I was moving the type around. But I really didn't expect that
> :)

If you get the latest version from github, everything should be ok.

julia
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to