anchor.diff:      let declareType (com: IPythonCompiler) ctx (ent: Fable.Entity) entName (consArgs: Arguments) (consBody: Statement list) baseExpr classMembers : Statement list =
           let typeDeclaration = declareClassType com ctx ent entName consArgs consBody baseExpr classMembers
           let reflectionDeclaration, stmts =
  -            let genArgs = Array.init (ent.GenericParameters.Length) (fun i -> "gen" + string i |> makeIdent)
  +            let genArgs = Array.init ent.GenericParameters.Length (fun i -> "gen" + string i |> makeIdent)
               let generics = genArgs |> Array.mapToList (identAsExpr com ctx)
               let body, stmts = transformReflectionInfo com ctx None ent generics
               let args = Arguments.arguments(genArgs |> Array.mapToList (ident com ctx >> Arg.arg))
  
positive.code:                 // Replace args, see NamedTailCallOpportunity constructor
                  let args' =
                      List.zip args tc.Args
                      |> List.map (fun (id, tcArg) -> com.GetIdentifier(ctx, tcArg))
                  let varDecls =
                      List.zip args tc.Args
                      |> List.map (fun (id, tcArg) -> ident com ctx id, Some (com.GetIdentifierAsExpr(ctx, tcArg)))
  
negative.code:                     else body
                  None, genTypeParams, args, body
              | Attached(isStatic=true), _
              | ClassConstructor, _ -> None, ctx.ScopedTypeParams, args, body
              | NonAttached funcName, _ -> Some funcName, Set.empty, args, body
              | _ -> None, Set.empty, args, body
  
  