Skip to content

Commit

Permalink
Implement BzlCompileValue.Key#toString.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 347628947
  • Loading branch information
haxorz authored and copybara-github committed Dec 15, 2020
1 parent 60c1db3 commit 4a5af6b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ public boolean equals(Object other) {
public SkyFunctionName functionName() {
return SkyFunctions.BZL_COMPILE;
}

@Override
public String toString() {
return String.format("%s:[%s]%s", functionName(), root, label);
}
}

/** Constructs a key for loading a regular (non-prelude) .bzl. */
Expand Down

0 comments on commit 4a5af6b

Please sign in to comment.