Skip to content

Commit b374ba3

Browse files
committed
Crypto: Updating java 'location' information to be just a location's toString to be more verbose/precise.
1 parent ddeb42c commit b374ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/experimental/quantum/Language.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module CryptoInput implements InputSig<Language::Location> {
3030
class UnknownLocation = UnknownDefaultLocation;
3131

3232
string locationToFileBaseNameAndLineNumberString(Location location) {
33-
result = location.getFile().getBaseName() + ":" + location.getStartLine()
33+
result = location.toString()
3434
}
3535

3636
LocatableElement dfn_to_element(DataFlow::Node node) {

0 commit comments

Comments
 (0)