compilation_unit {
  package_statement {
    package_name: "ExplorerTest"
  }
  is_api: true
  declarations {
    function {
      name {
        name: "Bad"
      }
      deduced_parameters {
        name: "T"
        type {
          type_type_literal {
          }
        }
      }
      param_pattern {
        fields {
          binding_pattern {
            name: "x"
            type {
              expression_pattern {
                expression {
                  struct_type_literal {
                    fields {
                      name: "a"
                      expression {
                        int_type_literal {
                        }
                      }
                    }
                    fields {
                      name: "b"
                      expression {
                        identifier {
                          name: "T"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
      return_term {
        kind: Omitted
      }
      body {
      }
    }
  }
  declarations {
    function {
      name {
        name: "Main"
      }
      param_pattern {
      }
      return_term {
        kind: Expression
        type {
          int_type_literal {
          }
        }
      }
      body {
        statements {
          expression_statement {
            expression {
              call {
                function {
                  identifier {
                    name: "Bad"
                  }
                }
                argument {
                  tuple_literal {
                    fields {
                      struct_literal {
                        fields {
                          name: "b"
                          expression {
                            int_literal {
                              value: 5
                            }
                          }
                        }
                        fields {
                          name: "a"
                          expression {
                            int_literal {
                              value: 7
                            }
                          }
                        }
                        fields {
                          name: "c"
                          expression {
                            int_literal {
                              value: 2
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        statements {
          return_expression_statement {
            expression {
              int_literal {
                value: 0
              }
            }
          }
        }
      }
    }
  }
}
