# HG changeset patch # User Anders Halager # Date 1211720165 -7200 # Node ID 2deb4c1f0d93f4ca28c4f143dd4a2a5bb0c5cbf8 # Parent d1f68bfb58ae540e2e1e23a76d0662fcb802acda Make it compile diff -r d1f68bfb58ae -r 2deb4c1f0d93 ast/Exp.d --- a/ast/Exp.d Sun May 25 14:46:01 2008 +0200 +++ b/ast/Exp.d Sun May 25 14:56:05 2008 +0200 @@ -37,7 +37,7 @@ } /// Get the type of the expression - DType type(); + abstract DType type(); /// Indicates which type the expression is - to avoid a lot of casts ExpType expType; @@ -443,6 +443,8 @@ this.str = str; } + override DType type() { return null; } + char[] str; }