Wrong error message from 2u
Ilya Zakharevich <[email protected]> Sun, 11 Aug 2024 23:48:38 -0700
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <[email protected]> |
In
(23:29) gp > my([a,b,c]=[(u-v)^2,2u*v,(u+v)^2]); c^2-a^2-b^2
*** syntax error, unexpected variable name, expecting ',': ...,c]=[(u-v)^2,2u*v,(u+v)^2]);c^2-a^2-b^2
*** ^--------------
the arrow points at the second closing bracket. The actual problem is
2u.
Thanks,
Ilya
P.S. IMO, 2u should better be parsed (as expected by the user!).