I have some code that detects use of labels in build scripts. I think it's
important to flag these because labels are often used accidentally, e.g.:
task foo {
dependsOn: bar
}
Typically this will result in a no-op and thus can go undetected for some
time.
I propose to flag use of labels as an error. This is a breaking change, but
I think it's justified because virtually every use of labels will be
accidental. Alternatively, we could issue a warning. But I dislike warnings,
especially in such clear-cut cases. Thoughts?
Cheers,
Peter
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Statement-labels-in-build-scripts-tp5658497p5658497.html
Sent from the gradle-dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email