Correctly deal with generic types

This commit is contained in:
Owen Mansel-Chan
2026-03-05 15:47:53 +00:00
parent e6996ea29a
commit 3c36a9e308

View File

@@ -241,8 +241,10 @@ module ModelValidation {
string getIncorrectConstructorSummaryOutput() {
exists(string namespace, string type, string name, string output |
type = name or
type = name + "<" + any(string s)
|
summaryModel(namespace, type, _, name, _, _, _, output, _, _, _) and
type = name and
output.matches("ReturnValue%") and
result =
"Constructor model for " + namespace + "." + type +