You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: third_party/dependency_analyzer/src/test/io/bazel/rulesscala/dependencyanalyzer/AstUsedJarFinderTest.scala
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -302,6 +302,19 @@ class AstUsedJarFinderTest extends FunSuite {
302
302
)
303
303
}
304
304
305
+
test("unspecified default argument type is indirect") {
306
+
checkIndirectDependencyDetected(
307
+
aCode ="class A",
308
+
bCode ="class B(a: A = new A())",
309
+
cCode =
310
+
s"""
311
+
|class C {
312
+
| new B()
313
+
|}
314
+
|""".stripMargin
315
+
)
316
+
}
317
+
305
318
test("java interface method argument is direct") {
0 commit comments