This compiles for me; can you post the exact code?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 

namespace xxx 

open System.Collections 

type x (name:string) = 
    let name=name 

type y()= 
    let mutable coll=new ArrayList() 
    member this.add name= 
        let Record=new x(name) 
        coll.Add(Record) 

By on 1/8/2010 12:41 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper