Skip to content

Aardvark.Media Documentation

Harald Steinlechner edited this page Oct 6, 2017 · 1 revision

Common problem with diffGenerator:

Name clashes for generated types:

[<DomainType>]
type Tab = { name : string; url : string }

[<DomainType>]
type Tree2 = 
    | Vertical of Tree2 * Tree2
    | Horizontal of Tree2 * Tree2
    | Tab of Tab

Here for both the record Tab, as well as the union case Tab a type MTab is generated which results in a conflict. Resolution: Use a different name.

Clone this wiki locally
You can’t perform that action at this time.