mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
fixing that I put a type on the wrong thing in the alert-message
This commit is contained in:
@@ -45,5 +45,5 @@ where
|
||||
v = a.getDest()
|
||||
)
|
||||
select a,
|
||||
"Implicit cast of $@ to narrower destination type " + a.getDest().getType().getName() + ".", v,
|
||||
"source type " + e.getType().getName()
|
||||
"Implicit cast of source type " + e.getType().getName() + " to narrower destination type $@.", v,
|
||||
a.getDest().getType().getName()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
| Test.java:68:5:68:25 | ...+=... | Implicit cast of $@ to narrower destination type int. | Test.java:64:4:64:13 | int i | source type long |
|
||||
| Test.java:87:4:87:9 | ...+=... | Implicit cast of $@ to narrower destination type int. | Test.java:81:4:81:13 | int i | source type long |
|
||||
| Test.java:289:5:289:30 | ...+=... | Implicit cast of $@ to narrower destination type int. | Test.java:285:4:285:27 | int[] arr | source type long |
|
||||
| Test.java:293:7:293:44 | ...+=... | Implicit cast of $@ to narrower destination type int. | Test.java:293:7:293:24 | ...[...] | source type long |
|
||||
| Test.java:68:5:68:25 | ...+=... | Implicit cast of source type long to narrower destination type $@. | Test.java:64:4:64:13 | int i | int |
|
||||
| Test.java:87:4:87:9 | ...+=... | Implicit cast of source type long to narrower destination type $@. | Test.java:81:4:81:13 | int i | int |
|
||||
| Test.java:289:5:289:30 | ...+=... | Implicit cast of source type long to narrower destination type $@. | Test.java:285:4:285:27 | int[] arr | int |
|
||||
| Test.java:293:7:293:44 | ...+=... | Implicit cast of source type long to narrower destination type $@. | Test.java:293:7:293:24 | ...[...] | int |
|
||||
|
||||
Reference in New Issue
Block a user