data: changed name of Java generic type to use name of declaration

* changed the name resolution of generic type instantiations to use the name of the type's declaration instead of using the provided type arguments here.
* fixed tests
This commit is contained in:
malte_langkabel
2016-10-03 12:50:51 +02:00
parent 3dffd55f75
commit 47d7a3a509
4 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -769,7 +769,7 @@ public:
);
TS_ASSERT_EQUALS(client->typeUses.size(), 1);
TS_ASSERT_EQUALS(client->typeUses[0], "A<T>.t -> A<java.lang.Void> <3:2 3:2>");
TS_ASSERT_EQUALS(client->typeUses[0], "A<T>.t -> A<T> <3:2 3:2>");
}
void test_java_parser_finds_bound_type_of_type_parameter()