ceylon / ceylon-spec

DEPRECATED
Apache License 2.0
108 stars 34 forks source link

Give warning for unused destructured variables #1425

Open quintesse opened 9 years ago

quintesse commented 9 years ago

The following code:

void test() {
    value [x, y, z] = [ 1, 2, 3 ];
}

Does not result in warnings for unused variables x, y and z as expected.

bjansen commented 8 years ago

@ncorai this repository is deprecated, the issue has been moved to https://github.com/ceylon/ceylon/issues/4531 ;)

ncorai commented 8 years ago

:face palm: Thanks!