Skip to content

Commit

Permalink
Merge pull request github#17634 from igfoo/igfoo/implicit_param_name
Browse files Browse the repository at this point in the history
Java: Add a test for parameter names
  • Loading branch information
igfoo authored Oct 1, 2024
2 parents 01c9509 + 323b7cb commit 6af5afc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions java/ql/test/library-tests/MemberRefExpr/parameters.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
| Test.java:3:22:3:24 | o |
| Test.java:7:22:7:26 | i |
| Test.java:45:22:45:26 | s |
| Test.java:49:29:49:42 | this |
| Test.java:50:29:50:42 | this |
| Test.java:51:29:51:39 | this |
| Test.java:52:40:52:64 | this |
| Test.java:70:13:70:22 | length |
| Test.java:71:13:71:26 | length |
| Test.java:75:31:75:47 | this |
5 changes: 5 additions & 0 deletions java/ql/test/library-tests/MemberRefExpr/parameters.ql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import java

from Parameter p
where p.fromSource()
select p

0 comments on commit 6af5afc

Please sign in to comment.