error FS0193: internal error: Could not load type 'anyType' from assembly 'FSI-ASSEMBLY, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
问题 When Using Resizable array with any types i can't loop through that array , f# seems not to understand my preDefined Type . here is a sample code : type someData = { Entry:string ; id:int } let datas = new ResizeArray<someData>() let record1 = {someData.Entry = "hiLo" ;someData.id =1234 } datas.Add(record1) let record2 = {someData.Entry = "Lolo" ;someData.id =1224 } datas.Add(record2) let record3 = {someData.Entry = "Hihi" ;someData.id =1231 } datas.Add(record3) let nameOnly = new ResizeArray