فهرست منبع

Fixes more generic related issues.

woollybah 6 سال پیش
والد
کامیت
340b4eae74
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 1 1
      expr.bmx
  2. 2 0
      type.bmx

+ 1 - 1
expr.bmx

@@ -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
 

+ 2 - 0
type.bmx

@@ -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()