diff dwtx/jface/text/templates/DocumentTemplateContext.d @ 162:1a5b8f8129df

...
author Frank Benoit <benoit@tionex.de>
date Mon, 08 Sep 2008 00:51:37 +0200
parents 75302ef3f92f
children
line wrap: on
line diff
--- a/dwtx/jface/text/templates/DocumentTemplateContext.d	Wed Aug 27 14:49:30 2008 +0200
+++ b/dwtx/jface/text/templates/DocumentTemplateContext.d	Mon Sep 08 00:51:37 2008 +0200
@@ -99,7 +99,7 @@
     public this(TemplateContextType type, IDocument document, Position position) {
         super(type);
 
-        Assert.isNotNull(document);
+        Assert.isNotNull(cast(Object)document);
         Assert.isNotNull(position);
         Assert.isTrue(position.getOffset() <= document.getLength());