[CLJ-1309] Bindings after :as in list destructuring should throw error Created: 19/Dec/13 Updated: 11/Jan/16
|Affects Version/s:||Release 1.4, Release 1.5|
|Labels:||Compiler, destructuring, errormsgs|
If you try to define a vector binding with anything at all after an :as parameter, you do not get a compiler error, and the binding is silently swallowed:
If you try to actually use the binding, there will be a compiler error (the compiler will complain that there's no binding for the symbol), but the actual error has already happened, and should be reported earlier.