diff dmd/TupleDeclaration.d @ 72:2e2a5c3f943a

reduced warnings by adding override to the methods think this also normalizes different line endings used all over the place
author Trass3r
date Sat, 28 Aug 2010 16:19:48 +0200
parents 81796b717a39
children 5c859d5fbe27
line wrap: on
line diff
--- a/dmd/TupleDeclaration.d	Sat Aug 28 16:14:07 2010 +0200
+++ b/dmd/TupleDeclaration.d	Sat Aug 28 16:19:48 2010 +0200
@@ -31,17 +31,17 @@
 		this.tupletype = null;
 	}
 
-	Dsymbol syntaxCopy(Dsymbol)
+	override Dsymbol syntaxCopy(Dsymbol)
 	{
 		assert(false);
 	}
 
-	string kind()
+	override string kind()
 	{
 		return "tuple";
 	}
 
-	Type getType()
+	override Type getType()
 	{
 		/* If this tuple represents a type, return that type
 		 */
@@ -90,7 +90,7 @@
 		return tupletype;
 	}
 
-	bool needThis()
+	override bool needThis()
 	{
 		//printf("TupleDeclaration::needThis(%s)\n", toChars());
 		for (size_t i = 0; i < objects.dim; i++)
@@ -112,5 +112,5 @@
 		return 0;
 	}
 
-	TupleDeclaration isTupleDeclaration() { return this; }
+	override TupleDeclaration isTupleDeclaration() { return this; }
 }