1
2
3
4
type A() = class end

and [AllowNullLiteral] B() = class end
By on 7/3/2010 5:48 AM ()

That works, but there's still an underlying inconsistancy -

[<AllowNullLiteral>]
type foo = ...

works, but

[<AllowNullLiteral>]
and bar = ...

doesn't. It really should either work in both cases or else in neither.

By on 7/4/2010 9:23 AM ()

what about this?

type [AllowNullLiteral] A = class end

and [AllowNullLiteral] B = class end

By on 7/4/2010 2:28 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