42School / norminette

Official 42 norminette
MIT License
926 stars 138 forks source link

Does not recognise multiple assignations when the middle has a cast #467

Open yumamur opened 9 months ago

yumamur commented 9 months ago

I have experimented with multiple variations of it when this first occured. While this raises the expected error:

void func(void **arr, char *str)
{
    str = ((char **)arr)[1] = str;
}

this does not:

    str = (((char **)arr)[1] = str);