Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Test imported type as well as fully-qualified type to check `findRef` codepath.

Co-authored-by: Jamie Thompson <[email protected]>
  • Loading branch information
i10416 and bishabosha authored Feb 28, 2024
1 parent cbfdf57 commit 96c91da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/run/i17255/J.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ public class J {
public static p.J f() {
return p.J.j;
}
public static Module$ module2() {
return p.Module$.MODULE$;
}
public static p.Module$ module() {
return p.Module$.MODULE$;
}
Expand Down
1 change: 1 addition & 0 deletions tests/run/i17255/Module.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ package p {
object Test extends App {
assert(p.J.f().toString == "J")
assert(p.J.module().toString == "Module")
assert(p.J.module2().toString == "Module")
}

0 comments on commit 96c91da

Please sign in to comment.