diff dmd/FuncDeclaration.d @ 157:b7b61140701d

* added all missing default cases in switch statements + Lexer.getDocComment + Lexer.combineComments
author trass3r
date Thu, 16 Sep 2010 01:34:10 +0200
parents 0c8cc2a10f99
children 80f4806ffa13
line wrap: on
line diff
--- a/dmd/FuncDeclaration.d	Wed Sep 15 18:24:39 2010 +0200
+++ b/dmd/FuncDeclaration.d	Thu Sep 16 01:34:10 2010 +0200
@@ -1793,6 +1793,10 @@
 
 					case 3:
 						return -2;	// forward references
+
+					default:
+						writef("cov = %d\n", cov);
+						assert(false);
 				}
 			}
 		}