#include "opendylan/run-time.h"

/* Generated by Open Dylan 2014.1 for x86_64-linux */

/* Typedefs for referenced classes */

#define  define__KLsimple_object_vectorGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    dylan_value vector_element_[nrepeated+1]; \
  } _KLsimple_object_vectorGVKd_##nrepeated;
define__KLsimple_object_vectorGVKd(6);
define__KLsimple_object_vectorGVKd(3);
define__KLsimple_object_vectorGVKd(256);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(4);
define__KLsimple_object_vectorGVKd(1);
define__KLsimple_object_vectorGVKd(0);

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value debug_name_;
  dylan_value class_implementation_class_;
  dylan_value class_subtype_bit_;
  dylan_value class_module_;
} _KLclassGVKd;

#define  define__KLmm_wrapperGVKi(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value mm_wrapper_implementation_class_; \
    dylan_value mm_wrapper_subtype_mask_; \
    DWORD mm_wrapper_fixed_part_; \
    DWORD mm_wrapper_variable_part_; \
    dylan_value mm_wrapper_number_patterns_; \
    DWORD mm_wrapper_pattern_element_[nrepeated+1]; \
  } _KLmm_wrapperGVKi_##nrepeated;
define__KLmm_wrapperGVKi(1);
define__KLmm_wrapperGVKi(0);

typedef struct {
  dylan_value wrapper;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value Pgf_cache_;
  dylan_value debug_name_;
  dylan_value generic_function_methods_;
  dylan_value discriminator_;
  dylan_value incremental_gf_module_;
  dylan_value incremental_gf_domain_info_;
  dylan_value incremental_gf_method_libraries_;
  dylan_value incremental_gf_properties_;
} _KLincremental_generic_functionGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value debug_name_;
  dylan_value class_implementation_class_;
  dylan_value class_subtype_bit_;
  dylan_value class_module_;
} _KLfunction_classGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
} _KLwarning_objectGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value Pgf_cache_;
  dylan_value debug_name_;
  dylan_value generic_function_methods_;
  dylan_value discriminator_;
} _KLsealed_generic_functionGVKe;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(4);
define__KLbyte_stringGVKd(14);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(1);
define__KLbyte_stringGVKd(25);
define__KLbyte_stringGVKd(24);

typedef struct {
  dylan_value wrapper;
  dylan_value properties_;
  dylan_value engine_node_callback_;
  dylan_value engine_node_entry_point_;
  dylan_value cache_header_engine_node_next_;
  dylan_value cache_header_engine_node_parent_;
} _KLsimple_typechecked_cache_header_engine_nodeGVKg;

typedef struct {
  dylan_value wrapper;
  dylan_value properties_;
  dylan_value engine_node_callback_;
  dylan_value engine_node_entry_point_;
} _KLabsent_engine_nodeGVKg;

typedef struct {
  dylan_value wrapper;
  dylan_value symbol_name_;
} _KLsymbolGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value mep_;
} _KLsimple_methodGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
} _KLsignatureGVKe;

typedef struct {
  dylan_value wrapper;
} _KLstreamGYcommon_extensionsVcommon_dylan;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value singleton_object_;
} _KLsingletonGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value class_properties_;
  dylan_value iclass_class_;
  dylan_value class_mm_wrapper_;
  dylan_value repeated_slot_descriptor_;
  dylan_value instance_slot_descriptors_;
  dylan_value iclass_dispatch_key_;
  dylan_value class_constructor_;
  dylan_value direct_superclasses_;
  dylan_value class_rcpl_vector_;
  dylan_value class_rcpl_position_;
  dylan_value class_rcpl_other_positions_;
  dylan_value class_known_joint_;
  dylan_value iclass_dependent_generics_;
  dylan_value iclass_subclass_dependent_generics_;
  dylan_value direct_subclasses_;
  dylan_value direct_methods_;
  dylan_value direct_slot_descriptors_;
  dylan_value slot_descriptors_;
  dylan_value direct_inherited_slot_descriptors_;
  dylan_value direct_initialization_argument_descriptors_;
  dylan_value class_slot_descriptors_;
  dylan_value defaulted_initialization_arguments_slot_;
  dylan_value class_slot_storage_;
} _KLimplementation_classGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value head_;
  dylan_value tail_;
} _KLempty_listGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value report_format_;
} _KLreportGVenvironment_reports;

typedef struct {
  dylan_value wrapper;
  dylan_value report_format_;
  dylan_value report_project_;
} _KLproject_reportGVenvironment_reports;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value union_type1_;
  dylan_value union_type2_;
} _KLunionGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value project_proxy_;
  dylan_value project_application_;
  dylan_value project_compiler_database_;
  dylan_value project_next_numeric_id_;
  dylan_value project_object_table_;
  dylan_value project_query_database_;
  dylan_value project_server_path_;
  dylan_value environment_object_breakpoints_;
  dylan_value source_location_breakpoints_;
  dylan_value project_properties_;
  dylan_value project_profile_state_;
} _KLproject_objectGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value mep_;
  dylan_value iep_;
  dylan_value keyword_specifiers_;
} _KLkeyword_methodGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
  dylan_value signature_keys_;
  dylan_value signature_key_types_;
  dylan_value signature_values_;
} _KLkeyword_signatureAvaluesGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value slot_descriptor_properties_;
  dylan_value init_data_slot_;
  dylan_value slot_owner_;
  dylan_value init_keyword_;
  dylan_value slot_getter_;
  dylan_value slot_setter_;
  dylan_value slot_type_;
} _KLinstance_slot_descriptorGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value namespace_name_;
  dylan_value home_library_;
} _KLmoduleGVKe;


/* Typedefs for defined classes */

typedef struct {
  dylan_value wrapper;
  dylan_value report_format_;
  dylan_value report_project_;
} _KLwarnings_reportGVenvironment_reports;


/* Referenced object declarations */

dylan_value Kinstall_reportVenvironment_reportsI (dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
dylan_value Kproject_warningsVenvironment_protocolsI (dylan_value, dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kforward_iteration_protocolVKd;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLclassGVKd KLwarning_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLwarning_objectGVenvironment_protocolsW;
extern _KLincremental_generic_functionGVKe Kenvironment_object_libraryVenvironment_protocols;
extern _KLsealed_generic_functionGVKe KformatYformatVio;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLincremental_generic_functionGVKe Kenvironment_object_primitive_nameVenvironment_protocols;
extern _KLincremental_generic_functionGVKe Kprint_environment_object_nameVenvironment_protocols;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLsimple_typechecked_cache_header_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLsimple_typechecked_cache_header_engine_nodeGVKgW;
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLstreamGYcommon_extensionsVcommon_dylan;
extern _KLmm_wrapperGVKi_0 KLstreamGYcommon_extensionsVcommon_dylanW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
dylan_value Ksingleton_pointer_idQ_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLclassGVKd KLreportGVenvironment_reports;
extern _KLmm_wrapperGVKi_0 KLreportGVenvironment_reportsW;
extern _KLclassGVKd KLproject_reportGVenvironment_reports;
extern _KLmm_wrapperGVKi_0 KLproject_reportGVenvironment_reportsW;
dylan_value KerrorVKdMM1I (dylan_value, dylan_value);
extern _KLunionGVKe KLreport_formatGVenvironment_reports;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
extern _KLclassGVKd KLproject_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLproject_objectGVenvironment_protocolsW;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLinstance_slot_descriptorGVKe Kreport_formatVenvironment_reportsHLreportG;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLinstance_slot_descriptorGVKe Kreport_projectVenvironment_reportsHLproject_reportG;
dylan_value Kclass_instanceQ_initialVKiI (dylan_value, dylan_value);
extern _KLmoduleGVKe Kenvironment_reports_moduleYdylan_userVenvironment_reports;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;

/* Defined object declarations */

static _KLsymbolGVKd KJwarnings_;
static _KLbyte_stringGVKd_24 K2;
extern _KLclassGVKd KLwarnings_reportGVenvironment_reports;
extern _KLmm_wrapperGVKi_0 KLwarnings_reportGVenvironment_reportsW;
extern _KLsimple_methodGVKe Kwrite_report_asVenvironment_reportsMM9;
dylan_value Kwrite_report_asVenvironment_reportsMM9I (dylan_value, dylan_value, dylan_value);
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K7;
static _KLbyte_stringGVKd_25 K8;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K9;
static _KLbyte_stringGVKd_24 K10;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K11;
static _KLsymbolGVKd KJqualify_namesQ_;
static _KLsymbolGVKd KJfull_messageQ_;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K14;
static _KLbyte_stringGVKd_1 K15;
static _KLbyte_stringGVKd_13 K16;
static _KLbyte_stringGVKd_14 K17;
static _KLsignatureGVKe K18;
static _KLsimple_object_vectorGVKd_3 K19;
static _KLsingletonGVKd K20;
static _KLsymbolGVKd KJtext_;
static _KLbyte_stringGVKd_4 K22;
static _KLimplementation_classGVKe K23;
static _KLsimple_object_vectorGVKd_2 K24;
extern _KLkeyword_methodGVKe KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0;
dylan_value KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0I (dylan_value, dylan_value, dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_1 K27;
static _KLsimple_object_vectorGVKd_6 K28;
static _KLsymbolGVKd KJproject_;
static _KLbyte_stringGVKd_23 K30;
static _KLbyte_stringGVKd_7 K31;
static _KLkeyword_signatureAvaluesGVKi K32;
static _KLsimple_object_vectorGVKd_4 K33;
static _KLsymbolGVKd KJformat_;
static _KLbyte_stringGVKd_6 K35;
static _KLsimple_object_vectorGVKd_2 K36;
static _KLsimple_object_vectorGVKd_1 K37;
static _KLbyte_stringGVKd_17 K38;
static _KLbyte_stringGVKd_8 K39;

/* Indirection variables */

static dylan_value IKJwarnings_ = &KJwarnings_;
static dylan_value IKJqualify_namesQ_ = &KJqualify_namesQ_;
static dylan_value IKJfull_messageQ_ = &KJfull_messageQ_;
static dylan_value IKJtext_ = &KJtext_;
static dylan_value IKJproject_ = &KJproject_;
static dylan_value IKJformat_ = &KJformat_;

/* Variables */

dylan_value Lwarnings_reportGVenvironment_reports = &KLwarnings_reportGVenvironment_reports;

/* Objects */

static _KLsymbolGVKd KJwarnings_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K39
};

static _KLbyte_stringGVKd_24 K2 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 97,
  "Compiler warnings report"
};

_KLclassGVKd KLwarnings_reportGVenvironment_reports = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K38,
  &K23,
  (dylan_value) 1,
  &Kenvironment_reports_moduleYdylan_userVenvironment_reports
};

_KLmm_wrapperGVKi_0 KLwarnings_reportGVenvironment_reportsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K23,
  (dylan_value) 1,
  9,
  33554439,
  (dylan_value) 1
};

_KLsimple_methodGVKe Kwrite_report_asVenvironment_reportsMM9 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K18,
  &Kwrite_report_asVenvironment_reportsMM9I
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K7 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (dylan_value) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_25 K8 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 101,
  "-----------------------\n\n"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K9 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (dylan_value) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_24 K10 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 97,
  "Warnings in %s library:\n"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K11 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (dylan_value) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLsymbolGVKd KJqualify_namesQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K17
};

static _KLsymbolGVKd KJfull_messageQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K16
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K14 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (dylan_value) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_1 K15 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 5,
  "\n"
};

static _KLbyte_stringGVKd_13 K16 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 53,
  "full-message?"
};

static _KLbyte_stringGVKd_14 K17 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 57,
  "qualify-names?"
};

static _KLsignatureGVKe K18 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41943053,
  &K19
};

static _KLsimple_object_vectorGVKd_3 K19 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLwarnings_reportGVenvironment_reports,
  &K20
};

static _KLsingletonGVKd K20 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJtext_
};

static _KLsymbolGVKd KJtext_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K22
};

static _KLbyte_stringGVKd_4 K22 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 17,
  "text"
};

static _KLimplementation_classGVKe K23 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 527433737,
  &KLwarnings_reportGVenvironment_reports,
  &KLwarnings_reportGVenvironment_reportsW,
  &KPfalseVKi,
  &K24,
  (dylan_value) -3,
  &KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0,
  &K27,
  &K28,
  (dylan_value) 13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K24,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K24 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &Kreport_formatVenvironment_reportsHLreportG,
  &Kreport_projectVenvironment_reportsHLproject_reportG
};

_KLkeyword_methodGVKe KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K32,
  &key_mep_2,
  &KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0I,
  &K33
};

static _KLsimple_object_vectorGVKd_1 K27 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLproject_reportGVenvironment_reports
};

static _KLsimple_object_vectorGVKd_6 K28 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLreportGVenvironment_reports,
  &KLproject_reportGVenvironment_reports,
  &KLwarnings_reportGVenvironment_reports,
  &KPfalseVKi,
  &KPfalseVKi
};

static _KLsymbolGVKd KJproject_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K31
};

static _KLbyte_stringGVKd_23 K30 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 93,
  "Missing init keyword %="
};

static _KLbyte_stringGVKd_7 K31 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 29,
  "project"
};

static _KLkeyword_signatureAvaluesGVKi K32 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K36,
  &KDsignature_LobjectG_typesVKi,
  &K37
};

static _KLsimple_object_vectorGVKd_4 K33 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJformat_,
  &KJtext_,
  &KJproject_,
  &KPunboundVKi
};

static _KLsymbolGVKd KJformat_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K35
};

static _KLbyte_stringGVKd_6 K35 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 25,
  "format"
};

static _KLsimple_object_vectorGVKd_2 K36 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJformat_,
  &KJproject_
};

static _KLsimple_object_vectorGVKd_1 K37 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLwarnings_reportGVenvironment_reports
};

static _KLbyte_stringGVKd_17 K38 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 69,
  "<warnings-report>"
};

static _KLbyte_stringGVKd_8 K39 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 33,
  "warnings"
};

/* Code */

dylan_value Kwrite_report_asVenvironment_reportsMM9I (dylan_value stream_, dylan_value report_, dylan_value Uformat_) {
  dylan_value T4;
  dylan_value T5;
  dylan_value T6;
  dylan_value T7;
  dylan_value T8;
  dylan_value T9;
  dylan_value T10;
  dylan_value T11T, T11;
  dylan_value T12;
  dylan_value warning_;
  dylan_value T14;
  dylan_value library_;
  dylan_value T16;
  dylan_value T17;
  dylan_value T18;
  dylan_value last_library_;
  dylan_value T20;
  dylan_value T21;
  dylan_value T22;
  dylan_value T23;
  _KLsimple_object_vectorGVKd_1 T24 = {&KLsimple_object_vectorGVKdW, (dylan_value) 5};
  _KLsimple_object_vectorGVKd_4 T25 = {&KLsimple_object_vectorGVKdW, (dylan_value) 17};

  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:22
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:25
  T22 = SLOT_VALUE_INITD(report_, 1);
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:26
  last_library_ = &KPfalseVKi;
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T4 = Kproject_warningsVenvironment_protocolsI(T22, &KPempty_vectorVKi, &KPfalseVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
  T5 = CONGRUENT_CALL1(T4);
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T6 = T5;
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T7 = MV_GET_ELT(1);
;
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T8 = MV_GET_ELT(2);
;
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T9 = MV_GET_ELT(3);
;
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T10 = MV_GET_ELT(5);
;
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T11T = T6;
L0: ;
    // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    T11 = T11T;
    // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    T12 = CALL3(T9, T4, T11, T7);
    // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    if (T12 == &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
      T14 = CALL2(T10, T4, T11);
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
      primitive_type_check(T14, &KLwarning_objectGVenvironment_protocols);
      warning_ = T14;
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:28
      CONGRUENT_CALL_PROLOG(&Kenvironment_object_libraryVenvironment_protocols, 2);
      library_ = CONGRUENT_CALL2(T22, warning_);
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:29
      T21 = last_library_;
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:29
      T23 = primitive_idQ(library_,T21);
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:29
      if (T23 == &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:30
        T20 = last_library_;
        // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:30
        if (T20 != &KPfalseVKi) {
          // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:31
          ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K7, 3);
          ENGINE_NODE_CALL3(&K7, stream_, &K8, &KPempty_vectorVKi);
        }
        // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:30
        // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:34
        T16 = CALL2(&Kenvironment_object_primitive_nameVenvironment_protocols, T22, library_);
        // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:33
        T24.vector_element_[0] = T16;
        // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:33
        ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K9, 3);
        ENGINE_NODE_CALL3(&K9, stream_, &K10, &T24);
        // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:35
        ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K11, 3);
        ENGINE_NODE_CALL3(&K11, stream_, &K8, &KPempty_vectorVKi);
        // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:36
        last_library_ = library_;
      }
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:29
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:38
      T25.vector_element_[0] = IKJqualify_namesQ_;
      T25.vector_element_[1] = &KPfalseVKi;
      T25.vector_element_[2] = IKJfull_messageQ_;
      T25.vector_element_[3] = &KPtrueVKi;
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:38
      CONGRUENT_CALL_PROLOG(&Kprint_environment_object_nameVenvironment_protocols, 4);
      CONGRUENT_CALL4(stream_, T22, warning_, &T25);
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:42
      ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K14, 3);
      ENGINE_NODE_CALL3(&K14, stream_, &K15, &KPempty_vectorVKi);
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
      T17 = CALL2(T8, T4, T11);
      // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
      T11T = T17;
      goto L0;
    }
    // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    T18 = &KPfalseVKi;
    // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:22
  MV_SET_COUNT(0);
  return(T18);
}

dylan_value KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0I (dylan_value class_, dylan_value init_args_, dylan_value Uunique_report_format_, dylan_value Uunique_report_project_) {
  dylan_value T5;
  dylan_value Uunique_report_projectF6;
  dylan_value T7;
  dylan_value Uunique_report_formatF8;
  dylan_value Uunique_report_projectF9;
  dylan_value T10_0;
  dylan_value T11;
  _KLsimple_object_vectorGVKd_1 T12 = {&KLsimple_object_vectorGVKdW, (dylan_value) 5};
  dylan_value T13;

  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  T11 = primitive_idQ(Uunique_report_project_,&KPunboundVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  if (T11 != &KPfalseVKi) {
    T12.vector_element_[0] = IKJproject_;
    T13 = KerrorVKdMM1I(&K30, &T12);
    // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
    T5 = T13;
    Uunique_report_projectF6 = T5;
  } else {
    Uunique_report_projectF6 = Uunique_report_project_;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  T7 = primitive_object_allocate_filled(3,&KLwarnings_reportGVenvironment_reportsW,2,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_report_format_, &KLreport_formatGVenvironment_reports);
  Uunique_report_formatF8 = Uunique_report_format_;
  SLOT_VALUE_SETTER(Uunique_report_formatF8, T7, 0);
  primitive_type_check(Uunique_report_projectF6, &KLproject_objectGVenvironment_protocols);
  Uunique_report_projectF9 = Uunique_report_projectF6;
  SLOT_VALUE_SETTER(Uunique_report_projectF9, T7, 1);
  T10_0 = T7;
  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  MV_SET_COUNT(1);
  return(T10_0);
}


/* SYSTEM INIT CODE */

void _Init_environment_reports__X_warnings_report_for_system () {
  extern dylan_value KPresolve_symbolVKiI(dylan_value);
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJwarnings_);
    if (T0 != &KJwarnings_) {
      IKJwarnings_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJqualify_namesQ_);
    if (T0 != &KJqualify_namesQ_) {
      IKJqualify_namesQ_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJfull_messageQ_);
    if (T0 != &KJfull_messageQ_) {
      IKJfull_messageQ_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJtext_);
    if (T0 != &KJtext_) {
      primitive_repeated_slot_value_setter(T0, &K33, 1, 1);
      primitive_slot_value_setter(T0, &K20, 1);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJproject_);
    if (T0 != &KJproject_) {
      primitive_repeated_slot_value_setter(T0, &K36, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K33, 1, 2);
      IKJproject_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJformat_);
    if (T0 != &KJformat_) {
      primitive_repeated_slot_value_setter(T0, &K36, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K33, 1, 0);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_environment_reports__X_warnings_report_for_user () {
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:17
  T0 = Kinstall_reportVenvironment_reportsI(IKJwarnings_, &K2, &KLwarnings_reportGVenvironment_reports, &KPempty_vectorVKi);
  goto I0;
}
I0:

  return;
}


/* eof */
