vala r2065 - in trunk: . vala
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2065 - in trunk: . vala
- Date: Fri, 28 Nov 2008 09:28:03 +0000 (UTC)
Author: juergbi
Date: Fri Nov 28 09:28:03 2008
New Revision: 2065
URL: http://svn.gnome.org/viewvc/vala?rev=2065&view=rev
Log:
2008-11-28 JÃrg Billeter <j bitron ch>
* vala/Makefile.am:
* vala/valagenerictype.vala:
* vala/valasymbolresolver.vala:
Rename TypeParameterType to GenericType
Added:
trunk/vala/valagenerictype.vala (contents, props changed)
- copied, changed from r2064, /trunk/vala/valatypeparametertype.vala
Removed:
trunk/vala/valatypeparametertype.vala
Modified:
trunk/ChangeLog
trunk/vala/Makefile.am
trunk/vala/valasymbolresolver.vala
Modified: trunk/vala/Makefile.am
==============================================================================
--- trunk/vala/Makefile.am (original)
+++ trunk/vala/Makefile.am Fri Nov 28 09:28:03 2008
@@ -67,6 +67,7 @@
valaforeachstatement.vala \
valaformalparameter.vala \
valaforstatement.vala \
+ valagenerictype.vala \
valagenieparser.vala \
valageniescanner.vala \
valagenietokentype.vala \
@@ -135,7 +136,6 @@
valatypecheck.vala \
valatypeofexpression.vala \
valatypeparameter.vala \
- valatypeparametertype.vala \
valatypesymbol.vala \
valaunaryexpression.vala \
valaunresolvedsymbol.vala \
Copied: trunk/vala/valagenerictype.vala (from r2064, /trunk/vala/valatypeparametertype.vala)
==============================================================================
--- /trunk/vala/valatypeparametertype.vala (original)
+++ trunk/vala/valagenerictype.vala Fri Nov 28 09:28:03 2008
@@ -1,4 +1,4 @@
-/* valatypeparametertype.vala
+/* valagenerictype.vala
*
* Copyright (C) 2008 JÃrg Billeter
*
@@ -25,13 +25,13 @@
/**
* The type of a generic type parameter.
*/
-public class Vala.TypeParameterType : DataType {
- public TypeParameterType (TypeParameter type_parameter) {
+public class Vala.GenericType : DataType {
+ public GenericType (TypeParameter type_parameter) {
this.type_parameter = type_parameter;
}
public override DataType copy () {
- var result = new TypeParameterType (type_parameter);
+ var result = new GenericType (type_parameter);
result.source_reference = source_reference;
result.value_owned = value_owned;
result.nullable = nullable;
Modified: trunk/vala/valasymbolresolver.vala
==============================================================================
--- trunk/vala/valasymbolresolver.vala (original)
+++ trunk/vala/valasymbolresolver.vala Fri Nov 28 09:28:03 2008
@@ -262,7 +262,7 @@
}
if (sym is TypeParameter) {
- type = new TypeParameterType ((TypeParameter) sym);
+ type = new GenericType ((TypeParameter) sym);
} else if (sym is TypeSymbol) {
if (sym is Delegate) {
type = new DelegateType ((Delegate) sym);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]