Hide this comment

This works fine:

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

type AbstractClass() = class end

type SomeDU = | Union of AbstractClass 

type Class() = 

    inherit AbstractClass() 

let someInst = new Class()

let someUnion = Union(someInst)

printfn "%A" someUnion
By on 4/27/2010 10:09 AM ()Reply
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

Logging in...