Mercurial > projects > dil
changeset 700:8e252b7c1459
Resolved cyclic dependency of dil.semantic.Types.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 26 Jan 2008 23:39:02 +0100 |
parents | 4c0ea78a7f8b |
children | 65ad2f96df1f |
files | trunk/src/dil/semantic/Types.d |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/trunk/src/dil/semantic/Types.d Sat Jan 26 20:59:27 2008 +0100 +++ b/trunk/src/dil/semantic/Types.d Sat Jan 26 23:39:02 2008 +0100 @@ -4,7 +4,7 @@ +/ module dil.semantic.Types; -import dil.semantic.Symbols; +import dil.semantic.Symbol; import dil.semantic.TypesEnum; import dil.lexer.Identifier; import dil.CompilerInfo; @@ -99,8 +99,8 @@ class TypeEnum : Type { - Enum enumSymbol; - this(Enum enumSymbol, Type baseType) + Symbol enumSymbol; + this(Symbol enumSymbol, Type baseType) { super(baseType, TYP.Enum); this.enumSymbol = enumSymbol;