diff dmd/TemplateMixin.d @ 79:43073c7c7769

updated to 2.035 also implemented a few missing functions still crashes in Import.importAll though
author Trass3r
date Mon, 30 Aug 2010 03:57:51 +0200
parents ad4792a1cfd6
children b17640f0e4e8
line wrap: on
line diff
--- a/dmd/TemplateMixin.d	Sun Aug 29 14:39:08 2010 +0100
+++ b/dmd/TemplateMixin.d	Mon Aug 30 03:57:51 2010 +0200
@@ -65,7 +65,8 @@
 
 	override void semantic(Scope sc)
 	{
-		version (LOG) {
+		version (LOG)
+		{
 			printf("+TemplateMixin.semantic('%s', this=%p)\n", toChars(), this);
 			fflush(stdout);
 		}
@@ -177,6 +178,8 @@
 
 		// Run semantic on each argument, place results in tiargs[]
 		semanticTiargs(sc);
+		if (errors)
+			return;
 
 		tempdecl = findBestMatch(sc);
 		if (!tempdecl)