Commit d106bbb 1 parent 67458e6 commit d106bbb Copy full SHA for d106bbb
File tree 1 file changed +14
-0
lines changed
src/com/google/javascript/jscomp
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -464,6 +464,20 @@ public int size() {
464
464
+ options .getDependencyOptions ()
465
465
+ "" );
466
466
}
467
+
468
+ if (options .getMergedPrecompiledLibraries () && !options .getConformanceConfigs ().isEmpty ()) {
469
+ ImmutableSet .Builder <String > conformanceConfigFiles = ImmutableSet .builder ();
470
+ for (ConformanceConfig conformanceConfig : options .getConformanceConfigs ()) {
471
+ for (Requirement requirement : conformanceConfig .getRequirementList ()) {
472
+ conformanceConfigFiles .addAll (requirement .getConfigFileList ());
473
+ }
474
+ }
475
+ throw new IllegalArgumentException (
476
+ "use_precompiled_libraries mode does not support passing JS conformance configs: this"
477
+ + " mode skips all check passes including conformance\n "
478
+ + "Unsupported conformance configs: "
479
+ + conformanceConfigFiles .build ());
480
+ }
467
481
}
468
482
469
483
public void printConfig () {
You can’t perform that action at this time.
0 commit comments