Browse Source

Merge pull request #207 from GWRon/fix_reflection_enumglobals

[Reflection.mod] Fix EnumGlobals()
Brucey 4 years ago
parent
commit
b5fe7f5474
1 changed files with 1 additions and 1 deletions
  1. 1 1
      reflection.mod/reflection.bmx

+ 1 - 1
reflection.mod/reflection.bmx

@@ -2509,7 +2509,7 @@ Type TTypeId
 	Method EnumGlobals:TList( list:TList=Null )
 		If Not list list=New TList
 		If _super _super.EnumGlobals list
-		For Local t:TField=EachIn _globalsList '.Values()
+		For Local t:TGlobal=EachIn _globalsList '.Values()
 			list.AddLast t
 		Next
 		Return list