Commit 5ab4f1c3 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter
Browse files

correct cname of generic type parameters

2007-03-10  Jürg Billeter  <j@bitron.ch>

	* vala/valatypereference.vala: correct cname of generic type parameters

svn path=/trunk/; revision=230
parent c8368984
2007-03-10 Jürg Billeter <j@bitron.ch>
* vala/valatypereference.vala: correct cname of generic type parameters
2007-03-10 Jürg Billeter <j@bitron.ch>
* vala/valacreationmethod.vala, vala/valamethod.vala: fix overriding
......
......@@ -199,9 +199,9 @@ public class Vala.TypeReference : CodeNode {
string ptr;
string arr;
if (type_parameter == null && !data_type.is_reference_type () && !reference_to_value_type) {
if (type_parameter != null || (!data_type.is_reference_type () && !reference_to_value_type)) {
ptr = "";
} else if (((type_parameter != null || data_type.is_reference_type ()) && !is_out) || reference_to_value_type) {
} else if ((data_type.is_reference_type () && !is_out) || reference_to_value_type) {
ptr = "*";
} else {
ptr = "**";
......
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