Strange behaviour of F# record with FlowDocument
===

I tried to create an F# record type containing a FlowDocument in Visual Studio 2012 RC somewhat like this:

    module RecordTest =
    open System.Windows.Documents

    type TestRecord =
        {
            TestName : FlowDocument
        }

    let test = { TestName = new FlowDocument () }



The strange thing is, this does not work for me. Visual Studio tells me: "The record label TestName is not defined." and hovering over the type definition of TestRecord does not reveal a ToolTip. If I change the type of TestName to e.g. string, everything works as it should.

For FlowDocument, a reference to PresentationFramework.dll is needed.

What's going on here?
Anybody able to get this working?

Thanks.