Commit c77ceb6c authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

Fix type resolving with nested generic types, fixes bug 562956

2008-12-02  Jürg Billeter  <j@bitron.ch>

	* vala/valadatatype.vala:

	Fix type resolving with nested generic types, fixes bug 562956

svn path=/trunk/; revision=2114
parent df33627b
2008-12-02 Jürg Billeter <j@bitron.ch>
* vala/valadatatype.vala:
Fix type resolving with nested generic types, fixes bug 562956
2008-12-01 Jürg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
......
......@@ -484,9 +484,9 @@ public abstract class Vala.DataType : CodeNode {
if (result is GenericType) {
result = SemanticAnalyzer.get_actual_type (derived_instance_type, (GenericType) result, node_reference);
}
if (result.type_argument_list != null) {
// don't try to resolve type arguments of returned actual type
// they can never be resolved and are not related to the instance type
} else if (result.type_argument_list != null) {
// recursely get actual types for type arguments
result = result.copy ();
for (int i = 0; i < result.type_argument_list.size; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment