anchor.diff:                  )
                   |> List.ofSeq
               
  -            //if hasStaticConstructor then   
  -            //    let body = 
  -            //        Function([], 
  -            //            cases |> Seq.mapi (fun i c ->
  -            //                if c.Kind = SingletonFSharpUnionCase then
  -            //                    ExprStatement <|
  -            //                        ItemSet(
  -            //                            Self, 
  -            //                            Value (String c.Name), 
  -            //                            CopyCtor(def, Object [ "$", Value (Int i) ])
  -            //                        )  
  -            //                else
  -            //                    Empty
  -            //            )
  -            //            |> List.ofSeq |> CombineStatements
  -            //        )
  -            //    clsMembers.Add (NotResolvedMember.StaticConstructor body)
  -
               let i =
                   FSharpUnionInfo {
                       Cases = cases
  
positive.code:         Option.isSome baseCls || hasWSPrototype ckind clsMembers
  
      let mutable hasSingletonCase = false
  
      if annot.IsJavaScript || hasWSPrototype || isAugmentedFSharpType cls then
          if cls.IsFSharpUnion then
  
negative.code:                 cls.UnionCases
                  |> Seq.mapi (fun i case ->
                      let constantCase v =
                          hasConstantCase <- true
                          if constants.Add(v) then
                              ConstantFSharpUnionCase v
                          else
  