| commit | d4e13eae03ca22cde97a4af97373d15ecd454620 | [log] [tgz] |
|---|---|---|
| author | laurentlb <laurentlb@google.com> | Thu Feb 21 13:07:26 2019 -0800 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu Feb 21 13:08:53 2019 -0800 |
| tree | d3cdb2404af186e4fcc136ac2622e0f8e8a3bd5b | |
| parent | aaa37f6ec3974bdf3672396fdb756020254258e8 [diff] |
Enable --incompatible_disallow_old_style_args_add by default Fixes https://github.com/bazelbuild/bazel/issues/5822 RELNOTES: --incompatible_disallow_old_style_args_add is enabled by default. PiperOrigin-RevId: 235053596
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/StarlarkSemantics.java b/src/main/java/com/google/devtools/build/lib/syntax/StarlarkSemantics.java index 87ae5ce..4b01e23 100644 --- a/src/main/java/com/google/devtools/build/lib/syntax/StarlarkSemantics.java +++ b/src/main/java/com/google/devtools/build/lib/syntax/StarlarkSemantics.java
@@ -221,7 +221,7 @@ .incompatibleDisallowLegacyJavaProvider(false) .incompatibleDisallowLegacyJavaInfo(false) .incompatibleDisallowLoadLabelsToCrossPackageBoundaries(false) - .incompatibleDisallowOldStyleArgsAdd(false) + .incompatibleDisallowOldStyleArgsAdd(true) .incompatibleDisallowStructProviderSyntax(false) .incompatibleExpandDirectories(true) .incompatibleNewActionsApi(false)