We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f0f5ba commit 4adc0f4Copy full SHA for 4adc0f4
scala/private/rules/scala_doc.bzl
@@ -34,7 +34,7 @@ def _scaladoc_aspect_impl(target, ctx, transitive = True):
34
35
macro_classpath = []
36
37
- for dependency in ctx.rule.attr.deps:
+ for dependency in getattr(ctx.rule.attr, "deps", []):
38
if ScalaInfo in dependency and dependency[ScalaInfo].contains_macros:
39
macro_classpath.append(dependency[JavaInfo].transitive_runtime_jars)
40
0 commit comments