@@ -675,7 +675,7 @@ Type TMemberVarExpr Extends TExpr
Method Semant:TExpr(options:Int = 0)
If exprType Return Self
If Not decl.IsSemanted() InternalErr "TMemberVarExpr.Semant"
- exprType=decl.ty
+ exprType=decl.ty.Semant()
Return Self
End Method
@@ -1644,6 +1644,8 @@ Type TIdentType Extends TType
ty=mdecl.FindType( tyid,targs, callback )
If ty Exit
Next
+ Else If TIdentType(ty) Then
+ ty = ty.Semant()
End If
Else
Local id:String = ident.ToLower()