// Lean compiler output
// Module: Lean.Linter.Deprecated
// Imports: Lean.Linter.Basic Lean.Attributes Lean.Elab.InfoTree.Main
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__7;
static lean_object* l_Lean_Linter_isDeprecated___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_instInhabitedDeprecationEntry___closed__1;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__3;
lean_object* l_Lean_TSyntax_getString(lean_object*);
lean_object* l_Lean_Name_toString(lean_object*, uint8_t);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Linter_getLinterValue(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated(lean_object*);
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
lean_object* l_Lean_stringToMessageData(lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__4;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__1;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__6;
static lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1;
lean_object* l_Lean_logWarning___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_instInhabitedDeprecationEntry;
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__6___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_MessageData_isDeprecationWarning___lambda__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofFormat(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_MessageData_isDeprecationWarning(lean_object*);
LEAN_EXPORT lean_object* l_Lean_MessageData_isDeprecationWarning___boxed(lean_object*);
static lean_object* l_Lean_MessageData_isDeprecationWarning___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6_(lean_object*);
uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*);
lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__6;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__9;
lean_object* l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__5;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__3;
LEAN_EXPORT lean_object* l_Lean_Linter_DeprecationEntry_newName_x3f___default;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__9;
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_name_eq(lean_object*, lean_object*);
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__5;
static lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__2;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__4;
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_Linter_isDeprecated(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91_(lean_object*);
static lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_Linter_deprecatedAttr;
static lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__4;
LEAN_EXPORT lean_object* l_Lean_Linter_isDeprecated___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_getDeprecatedNewName___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__7;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__2;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__1;
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
lean_object* l_Lean_ParametricAttribute_getParam_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isNone(lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__1;
lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_6____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_DeprecationEntry_since_x3f___default;
LEAN_EXPORT lean_object* l_Lean_Linter_DeprecationEntry_text_x3f___default;
LEAN_EXPORT lean_object* l_Lean_Linter_linter_deprecated;
lean_object* l_Lean_registerParametricAttribute___rarg(lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__2;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_getDeprecatedNewName(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__6(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__8;
static lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__2___closed__1;
LEAN_EXPORT lean_object* l_Lean_MessageData_isDeprecationWarning___lambda__1___boxed(lean_object*);
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__8;
static lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4___closed__1;
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("linter", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("deprecated", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__1;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("if true, generate deprecation warnings", 38, 38);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 1;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__4;
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__5;
x_4 = lean_box(x_1);
x_5 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Linter", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__8;
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__1;
x_4 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__2;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__3;
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__6;
x_4 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__9;
x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_6____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_DeprecationEntry_newName_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_DeprecationEntry_text_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_DeprecationEntry_since_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_instInhabitedDeprecationEntry___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
lean_ctor_set(x_2, 2, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Linter_instInhabitedDeprecationEntry() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Linter_instInhabitedDeprecationEntry___closed__1;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_ctor_get(x_2, 5);
x_6 = l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(x_1, x_2, x_3, x_4);
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_6, 0);
lean_inc(x_5);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_5);
lean_ctor_set(x_9, 1, x_8);
lean_ctor_set_tag(x_6, 1);
lean_ctor_set(x_6, 0, x_9);
return x_6;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_6, 0);
x_11 = lean_ctor_get(x_6, 1);
lean_inc(x_11);
lean_inc(x_10);
lean_dec(x_6);
lean_inc(x_5);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_5);
lean_ctor_set(x_12, 1, x_10);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_11);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; 
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_52; 
lean_dec(x_6);
lean_dec(x_5);
x_52 = lean_box(0);
x_8 = x_52;
x_9 = x_7;
goto block_51;
}
else
{
uint8_t x_53; 
x_53 = !lean_is_exclusive(x_2);
if (x_53 == 0)
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; 
x_54 = lean_ctor_get(x_2, 0);
x_55 = lean_box(0);
x_56 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_54, x_55, x_5, x_6, x_7);
if (lean_obj_tag(x_56) == 0)
{
lean_object* x_57; lean_object* x_58; 
x_57 = lean_ctor_get(x_56, 0);
lean_inc(x_57);
x_58 = lean_ctor_get(x_56, 1);
lean_inc(x_58);
lean_dec(x_56);
lean_ctor_set(x_2, 0, x_57);
x_8 = x_2;
x_9 = x_58;
goto block_51;
}
else
{
uint8_t x_59; 
lean_free_object(x_2);
lean_dec(x_4);
lean_dec(x_1);
x_59 = !lean_is_exclusive(x_56);
if (x_59 == 0)
{
return x_56;
}
else
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; 
x_60 = lean_ctor_get(x_56, 0);
x_61 = lean_ctor_get(x_56, 1);
lean_inc(x_61);
lean_inc(x_60);
lean_dec(x_56);
x_62 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_62, 0, x_60);
lean_ctor_set(x_62, 1, x_61);
return x_62;
}
}
}
else
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; 
x_63 = lean_ctor_get(x_2, 0);
lean_inc(x_63);
lean_dec(x_2);
x_64 = lean_box(0);
x_65 = l_Lean_Elab_realizeGlobalConstNoOverloadWithInfo(x_63, x_64, x_5, x_6, x_7);
if (lean_obj_tag(x_65) == 0)
{
lean_object* x_66; lean_object* x_67; lean_object* x_68; 
x_66 = lean_ctor_get(x_65, 0);
lean_inc(x_66);
x_67 = lean_ctor_get(x_65, 1);
lean_inc(x_67);
lean_dec(x_65);
x_68 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_68, 0, x_66);
x_8 = x_68;
x_9 = x_67;
goto block_51;
}
else
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; 
lean_dec(x_4);
lean_dec(x_1);
x_69 = lean_ctor_get(x_65, 0);
lean_inc(x_69);
x_70 = lean_ctor_get(x_65, 1);
lean_inc(x_70);
if (lean_is_exclusive(x_65)) {
 lean_ctor_release(x_65, 0);
 lean_ctor_release(x_65, 1);
 x_71 = x_65;
} else {
 lean_dec_ref(x_65);
 x_71 = lean_box(0);
}
if (lean_is_scalar(x_71)) {
 x_72 = lean_alloc_ctor(1, 2, 0);
} else {
 x_72 = x_71;
}
lean_ctor_set(x_72, 0, x_69);
lean_ctor_set(x_72, 1, x_70);
return x_72;
}
}
}
block_51:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_10; 
x_10 = lean_box(0);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_11; lean_object* x_12; 
x_11 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_11, 0, x_8);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set(x_11, 2, x_10);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_9);
return x_12;
}
else
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_4);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_14 = lean_ctor_get(x_4, 0);
x_15 = l_Lean_TSyntax_getString(x_14);
lean_dec(x_14);
lean_ctor_set(x_4, 0, x_15);
x_16 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_16, 0, x_8);
lean_ctor_set(x_16, 1, x_10);
lean_ctor_set(x_16, 2, x_4);
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_9);
return x_17;
}
else
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_18 = lean_ctor_get(x_4, 0);
lean_inc(x_18);
lean_dec(x_4);
x_19 = l_Lean_TSyntax_getString(x_18);
lean_dec(x_18);
x_20 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_20, 0, x_19);
x_21 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_21, 0, x_8);
lean_ctor_set(x_21, 1, x_10);
lean_ctor_set(x_21, 2, x_20);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_9);
return x_22;
}
}
}
else
{
uint8_t x_23; 
x_23 = !lean_is_exclusive(x_1);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; 
x_24 = lean_ctor_get(x_1, 0);
x_25 = l_Lean_TSyntax_getString(x_24);
lean_dec(x_24);
lean_ctor_set(x_1, 0, x_25);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_26 = lean_box(0);
x_27 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_27, 0, x_8);
lean_ctor_set(x_27, 1, x_1);
lean_ctor_set(x_27, 2, x_26);
x_28 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_28, 0, x_27);
lean_ctor_set(x_28, 1, x_9);
return x_28;
}
else
{
uint8_t x_29; 
x_29 = !lean_is_exclusive(x_4);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_30 = lean_ctor_get(x_4, 0);
x_31 = l_Lean_TSyntax_getString(x_30);
lean_dec(x_30);
lean_ctor_set(x_4, 0, x_31);
x_32 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_32, 0, x_8);
lean_ctor_set(x_32, 1, x_1);
lean_ctor_set(x_32, 2, x_4);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_9);
return x_33;
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_34 = lean_ctor_get(x_4, 0);
lean_inc(x_34);
lean_dec(x_4);
x_35 = l_Lean_TSyntax_getString(x_34);
lean_dec(x_34);
x_36 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_36, 0, x_35);
x_37 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_37, 0, x_8);
lean_ctor_set(x_37, 1, x_1);
lean_ctor_set(x_37, 2, x_36);
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_9);
return x_38;
}
}
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; 
x_39 = lean_ctor_get(x_1, 0);
lean_inc(x_39);
lean_dec(x_1);
x_40 = l_Lean_TSyntax_getString(x_39);
lean_dec(x_39);
x_41 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_41, 0, x_40);
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
x_42 = lean_box(0);
x_43 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_43, 0, x_8);
lean_ctor_set(x_43, 1, x_41);
lean_ctor_set(x_43, 2, x_42);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_9);
return x_44;
}
else
{
lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_45 = lean_ctor_get(x_4, 0);
lean_inc(x_45);
if (lean_is_exclusive(x_4)) {
 lean_ctor_release(x_4, 0);
 x_46 = x_4;
} else {
 lean_dec_ref(x_4);
 x_46 = lean_box(0);
}
x_47 = l_Lean_TSyntax_getString(x_45);
lean_dec(x_45);
if (lean_is_scalar(x_46)) {
 x_48 = lean_alloc_ctor(1, 1, 0);
} else {
 x_48 = x_46;
}
lean_ctor_set(x_48, 0, x_47);
x_49 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_49, 0, x_8);
lean_ctor_set(x_49, 1, x_41);
lean_ctor_set(x_49, 2, x_48);
x_50 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_50, 0, x_49);
lean_ctor_set(x_50, 1, x_9);
return x_50;
}
}
}
}
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("invalid `[deprecated]` attribute", 32, 32);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; 
x_8 = lean_unsigned_to_nat(3u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = l_Lean_Syntax_isNone(x_9);
if (x_10 == 0)
{
lean_object* x_11; uint8_t x_12; 
x_11 = lean_unsigned_to_nat(5u);
lean_inc(x_9);
x_12 = l_Lean_Syntax_matchesNull(x_9, x_11);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; 
lean_dec(x_9);
lean_dec(x_4);
lean_dec(x_2);
x_13 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__2;
x_14 = l_Lean_throwError___at_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____spec__1(x_13, x_5, x_6, x_7);
lean_dec(x_6);
lean_dec(x_5);
return x_14;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_15 = l_Lean_Syntax_getArg(x_9, x_8);
lean_dec(x_9);
x_16 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_16, 0, x_15);
x_17 = lean_box(0);
x_18 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__1(x_4, x_2, x_17, x_16, x_5, x_6, x_7);
return x_18;
}
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
lean_dec(x_9);
x_19 = lean_box(0);
x_20 = lean_box(0);
x_21 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__1(x_4, x_2, x_20, x_19, x_5, x_6, x_7);
return x_21;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_7 = lean_unsigned_to_nat(2u);
x_8 = l_Lean_Syntax_getArg(x_1, x_7);
x_9 = l_Lean_Syntax_isNone(x_8);
if (x_9 == 0)
{
lean_object* x_10; uint8_t x_11; 
x_10 = lean_unsigned_to_nat(1u);
lean_inc(x_8);
x_11 = l_Lean_Syntax_matchesNull(x_8, x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; 
lean_dec(x_8);
lean_dec(x_3);
x_12 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__2;
x_13 = l_Lean_throwError___at_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____spec__1(x_12, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_14 = lean_unsigned_to_nat(0u);
x_15 = l_Lean_Syntax_getArg(x_8, x_14);
lean_dec(x_8);
x_16 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_16, 0, x_15);
x_17 = lean_box(0);
x_18 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2(x_1, x_3, x_17, x_16, x_4, x_5, x_6);
return x_18;
}
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
lean_dec(x_8);
x_19 = lean_box(0);
x_20 = lean_box(0);
x_21 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2(x_1, x_3, x_20, x_19, x_4, x_5, x_6);
return x_21;
}
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; uint8_t x_7; 
x_6 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4___closed__1;
lean_inc(x_2);
x_7 = l_Lean_Syntax_isOfKind(x_2, x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
lean_dec(x_2);
x_8 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__2;
x_9 = l_Lean_throwError___at_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____spec__1(x_8, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_9;
}
else
{
lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_10 = lean_unsigned_to_nat(1u);
x_11 = l_Lean_Syntax_getArg(x_2, x_10);
x_12 = l_Lean_Syntax_isNone(x_11);
if (x_12 == 0)
{
uint8_t x_13; 
lean_inc(x_11);
x_13 = l_Lean_Syntax_matchesNull(x_11, x_10);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
lean_dec(x_11);
lean_dec(x_2);
x_14 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__2;
x_15 = l_Lean_throwError___at_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____spec__1(x_14, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_3);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
x_16 = lean_unsigned_to_nat(0u);
x_17 = l_Lean_Syntax_getArg(x_11, x_16);
lean_dec(x_11);
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_17);
x_19 = lean_box(0);
x_20 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__3(x_2, x_19, x_18, x_3, x_4, x_5);
lean_dec(x_2);
return x_20;
}
}
else
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
lean_dec(x_11);
x_21 = lean_box(0);
x_22 = lean_box(0);
x_23 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__3(x_2, x_22, x_21, x_3, x_4, x_5);
lean_dec(x_2);
return x_23;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; 
x_6 = lean_box(0);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("deprecatedAttr", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__7;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__8;
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__1;
x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("mark declaration as deprecated", 30, 30);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__3;
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__4;
x_4 = 0;
x_5 = lean_alloc_ctor(0, 3, 1);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4___boxed), 5, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__5___boxed), 5, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__6___boxed), 3, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__5;
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__6;
x_3 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__7;
x_4 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__8;
x_5 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_5, 0, x_1);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
lean_ctor_set(x_5, 3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__9;
x_3 = l_Lean_registerParametricAttribute___rarg(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_throwError___at_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____spec__1(x_1, x_2, x_3, x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_3);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__3(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_2);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__5(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__6(x_1, x_2, x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Linter_isDeprecated___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Linter_deprecatedAttr;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_Linter_isDeprecated(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = l_Lean_Linter_instInhabitedDeprecationEntry;
x_4 = l_Lean_Linter_isDeprecated___closed__1;
x_5 = l_Lean_ParametricAttribute_getParam_x3f___rarg(x_3, x_4, x_1, x_2);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
x_6 = 0;
return x_6;
}
else
{
uint8_t x_7; 
lean_dec(x_5);
x_7 = 1;
return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_isDeprecated___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Linter_isDeprecated(x_1, x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT uint8_t l_Lean_MessageData_isDeprecationWarning___lambda__1(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; 
x_2 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_3 = lean_name_eq(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_MessageData_isDeprecationWarning___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_MessageData_isDeprecationWarning___lambda__1___boxed), 1, 0);
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_MessageData_isDeprecationWarning(lean_object* x_1) {
_start:
{
lean_object* x_2; uint8_t x_3; 
x_2 = l_Lean_MessageData_isDeprecationWarning___closed__1;
x_3 = l_Lean_MessageData_hasTag(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_MessageData_isDeprecationWarning___lambda__1___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lean_MessageData_isDeprecationWarning___lambda__1(x_1);
lean_dec(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_MessageData_isDeprecationWarning___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lean_MessageData_isDeprecationWarning(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_getDeprecatedNewName(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = l_Lean_Linter_instInhabitedDeprecationEntry;
x_4 = l_Lean_Linter_isDeprecated___closed__1;
x_5 = l_Lean_ParametricAttribute_getParam_x3f___rarg(x_3, x_4, x_1, x_2);
if (lean_obj_tag(x_5) == 0)
{
lean_object* x_6; 
x_6 = lean_box(0);
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec(x_5);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
lean_dec(x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_getDeprecatedNewName___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Linter_getDeprecatedNewName(x_1, x_2);
lean_dec(x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` has been deprecated", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` has been deprecated, use `", 28, 28);
return x_1;
}
}
static lean_object* _init_l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` instead", 9, 9);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = l_Lean_Linter_instInhabitedDeprecationEntry;
x_8 = l_Lean_Linter_isDeprecated___closed__1;
lean_inc(x_1);
x_9 = l_Lean_ParametricAttribute_getParam_x3f___rarg(x_7, x_8, x_6, x_1);
if (lean_obj_tag(x_9) == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_10 = lean_ctor_get(x_2, 0);
lean_inc(x_10);
lean_dec(x_2);
x_11 = lean_ctor_get(x_10, 1);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_box(0);
x_13 = lean_apply_2(x_11, lean_box(0), x_12);
return x_13;
}
else
{
uint8_t x_14; 
x_14 = !lean_is_exclusive(x_9);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; 
x_15 = lean_ctor_get(x_9, 0);
x_16 = lean_ctor_get(x_15, 1);
lean_inc(x_16);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17; 
x_17 = lean_ctor_get(x_15, 0);
lean_inc(x_17);
lean_dec(x_15);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
x_18 = 1;
x_19 = l_Lean_Name_toString(x_1, x_18);
x_20 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1;
x_21 = lean_string_append(x_20, x_19);
lean_dec(x_19);
x_22 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__2;
x_23 = lean_string_append(x_21, x_22);
lean_ctor_set_tag(x_9, 3);
lean_ctor_set(x_9, 0, x_23);
x_24 = l_Lean_MessageData_ofFormat(x_9);
x_25 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_26 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_24);
x_27 = l_Lean_logWarning___rarg(x_2, x_3, x_4, x_5, x_26);
return x_27;
}
else
{
uint8_t x_28; 
lean_free_object(x_9);
x_28 = !lean_is_exclusive(x_17);
if (x_28 == 0)
{
lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_29 = lean_ctor_get(x_17, 0);
x_30 = 1;
x_31 = l_Lean_Name_toString(x_1, x_30);
x_32 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1;
x_33 = lean_string_append(x_32, x_31);
lean_dec(x_31);
x_34 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__3;
x_35 = lean_string_append(x_33, x_34);
x_36 = l_Lean_Name_toString(x_29, x_30);
x_37 = lean_string_append(x_35, x_36);
lean_dec(x_36);
x_38 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__4;
x_39 = lean_string_append(x_37, x_38);
lean_ctor_set_tag(x_17, 3);
lean_ctor_set(x_17, 0, x_39);
x_40 = l_Lean_MessageData_ofFormat(x_17);
x_41 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_42 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_42, 0, x_41);
lean_ctor_set(x_42, 1, x_40);
x_43 = l_Lean_logWarning___rarg(x_2, x_3, x_4, x_5, x_42);
return x_43;
}
else
{
lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_44 = lean_ctor_get(x_17, 0);
lean_inc(x_44);
lean_dec(x_17);
x_45 = 1;
x_46 = l_Lean_Name_toString(x_1, x_45);
x_47 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1;
x_48 = lean_string_append(x_47, x_46);
lean_dec(x_46);
x_49 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__3;
x_50 = lean_string_append(x_48, x_49);
x_51 = l_Lean_Name_toString(x_44, x_45);
x_52 = lean_string_append(x_50, x_51);
lean_dec(x_51);
x_53 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__4;
x_54 = lean_string_append(x_52, x_53);
x_55 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_55, 0, x_54);
x_56 = l_Lean_MessageData_ofFormat(x_55);
x_57 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_58 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_58, 0, x_57);
lean_ctor_set(x_58, 1, x_56);
x_59 = l_Lean_logWarning___rarg(x_2, x_3, x_4, x_5, x_58);
return x_59;
}
}
}
else
{
uint8_t x_60; 
lean_free_object(x_9);
lean_dec(x_15);
lean_dec(x_1);
x_60 = !lean_is_exclusive(x_16);
if (x_60 == 0)
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; 
lean_ctor_set_tag(x_16, 3);
x_61 = l_Lean_MessageData_ofFormat(x_16);
x_62 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_63 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_63, 0, x_62);
lean_ctor_set(x_63, 1, x_61);
x_64 = l_Lean_logWarning___rarg(x_2, x_3, x_4, x_5, x_63);
return x_64;
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; 
x_65 = lean_ctor_get(x_16, 0);
lean_inc(x_65);
lean_dec(x_16);
x_66 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_66, 0, x_65);
x_67 = l_Lean_MessageData_ofFormat(x_66);
x_68 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_69 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_69, 0, x_68);
lean_ctor_set(x_69, 1, x_67);
x_70 = l_Lean_logWarning___rarg(x_2, x_3, x_4, x_5, x_69);
return x_70;
}
}
}
else
{
lean_object* x_71; lean_object* x_72; 
x_71 = lean_ctor_get(x_9, 0);
lean_inc(x_71);
lean_dec(x_9);
x_72 = lean_ctor_get(x_71, 1);
lean_inc(x_72);
if (lean_obj_tag(x_72) == 0)
{
lean_object* x_73; 
x_73 = lean_ctor_get(x_71, 0);
lean_inc(x_73);
lean_dec(x_71);
if (lean_obj_tag(x_73) == 0)
{
uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; 
x_74 = 1;
x_75 = l_Lean_Name_toString(x_1, x_74);
x_76 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1;
x_77 = lean_string_append(x_76, x_75);
lean_dec(x_75);
x_78 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__2;
x_79 = lean_string_append(x_77, x_78);
x_80 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_80, 0, x_79);
x_81 = l_Lean_MessageData_ofFormat(x_80);
x_82 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_83 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_83, 0, x_82);
lean_ctor_set(x_83, 1, x_81);
x_84 = l_Lean_logWarning___rarg(x_2, x_3, x_4, x_5, x_83);
return x_84;
}
else
{
lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; 
x_85 = lean_ctor_get(x_73, 0);
lean_inc(x_85);
if (lean_is_exclusive(x_73)) {
 lean_ctor_release(x_73, 0);
 x_86 = x_73;
} else {
 lean_dec_ref(x_73);
 x_86 = lean_box(0);
}
x_87 = 1;
x_88 = l_Lean_Name_toString(x_1, x_87);
x_89 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1;
x_90 = lean_string_append(x_89, x_88);
lean_dec(x_88);
x_91 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__3;
x_92 = lean_string_append(x_90, x_91);
x_93 = l_Lean_Name_toString(x_85, x_87);
x_94 = lean_string_append(x_92, x_93);
lean_dec(x_93);
x_95 = l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__4;
x_96 = lean_string_append(x_94, x_95);
if (lean_is_scalar(x_86)) {
 x_97 = lean_alloc_ctor(3, 1, 0);
} else {
 x_97 = x_86;
 lean_ctor_set_tag(x_97, 3);
}
lean_ctor_set(x_97, 0, x_96);
x_98 = l_Lean_MessageData_ofFormat(x_97);
x_99 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_100 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_100, 0, x_99);
lean_ctor_set(x_100, 1, x_98);
x_101 = l_Lean_logWarning___rarg(x_2, x_3, x_4, x_5, x_100);
return x_101;
}
}
else
{
lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; 
lean_dec(x_71);
lean_dec(x_1);
x_102 = lean_ctor_get(x_72, 0);
lean_inc(x_102);
if (lean_is_exclusive(x_72)) {
 lean_ctor_release(x_72, 0);
 x_103 = x_72;
} else {
 lean_dec_ref(x_72);
 x_103 = lean_box(0);
}
if (lean_is_scalar(x_103)) {
 x_104 = lean_alloc_ctor(3, 1, 0);
} else {
 x_104 = x_103;
 lean_ctor_set_tag(x_104, 3);
}
lean_ctor_set(x_104, 0, x_102);
x_105 = l_Lean_MessageData_ofFormat(x_104);
x_106 = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2;
x_107 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_107, 0, x_106);
lean_ctor_set(x_107, 1, x_105);
x_108 = l_Lean_logWarning___rarg(x_2, x_3, x_4, x_5, x_107);
return x_108;
}
}
}
}
}
static lean_object* _init_l_Lean_Linter_checkDeprecated___rarg___lambda__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Linter_linter_deprecated;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; uint8_t x_10; 
x_9 = l_Lean_Linter_checkDeprecated___rarg___lambda__2___closed__1;
x_10 = l_Lean_Linter_getLinterValue(x_9, x_8);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_11 = lean_ctor_get(x_1, 0);
lean_inc(x_11);
lean_dec(x_1);
x_12 = lean_ctor_get(x_11, 1);
lean_inc(x_12);
lean_dec(x_11);
x_13 = lean_box(0);
x_14 = lean_apply_2(x_12, lean_box(0), x_13);
return x_14;
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_2, 0);
lean_inc(x_15);
lean_dec(x_2);
x_16 = lean_alloc_closure((void*)(l_Lean_Linter_checkDeprecated___rarg___lambda__1___boxed), 6, 5);
lean_closure_set(x_16, 0, x_3);
lean_closure_set(x_16, 1, x_1);
lean_closure_set(x_16, 2, x_4);
lean_closure_set(x_16, 3, x_5);
lean_closure_set(x_16, 4, x_6);
x_17 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_15, x_16);
return x_17;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_ctor_get(x_1, 1);
lean_inc(x_7);
lean_inc(x_7);
lean_inc(x_5);
x_8 = lean_alloc_closure((void*)(l_Lean_Linter_checkDeprecated___rarg___lambda__2___boxed), 8, 7);
lean_closure_set(x_8, 0, x_1);
lean_closure_set(x_8, 1, x_2);
lean_closure_set(x_8, 2, x_6);
lean_closure_set(x_8, 3, x_3);
lean_closure_set(x_8, 4, x_4);
lean_closure_set(x_8, 5, x_5);
lean_closure_set(x_8, 6, x_7);
x_9 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_5, x_8);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Linter_checkDeprecated___rarg), 6, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Linter_checkDeprecated___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Linter_checkDeprecated___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Linter_checkDeprecated___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_8);
return x_9;
}
}
lean_object* initialize_Lean_Linter_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Attributes(uint8_t builtin, lean_object*);
lean_object* initialize_Lean_Elab_InfoTree_Main(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Linter_Deprecated(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Linter_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Attributes(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Elab_InfoTree_Main(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__1 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__1();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__1);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__2 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__2();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__2);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__3 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__3();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__3);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__4 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__4();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__4);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__5 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__5();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__5);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__6 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__6();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__6);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__7 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__7();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__7);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__8 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__8();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__8);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__9 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__9();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6____closed__9);
if (builtin) {res = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_6_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Linter_linter_deprecated = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Linter_linter_deprecated);
lean_dec_ref(res);
}l_Lean_Linter_DeprecationEntry_newName_x3f___default = _init_l_Lean_Linter_DeprecationEntry_newName_x3f___default();
lean_mark_persistent(l_Lean_Linter_DeprecationEntry_newName_x3f___default);
l_Lean_Linter_DeprecationEntry_text_x3f___default = _init_l_Lean_Linter_DeprecationEntry_text_x3f___default();
lean_mark_persistent(l_Lean_Linter_DeprecationEntry_text_x3f___default);
l_Lean_Linter_DeprecationEntry_since_x3f___default = _init_l_Lean_Linter_DeprecationEntry_since_x3f___default();
lean_mark_persistent(l_Lean_Linter_DeprecationEntry_since_x3f___default);
l_Lean_Linter_instInhabitedDeprecationEntry___closed__1 = _init_l_Lean_Linter_instInhabitedDeprecationEntry___closed__1();
lean_mark_persistent(l_Lean_Linter_instInhabitedDeprecationEntry___closed__1);
l_Lean_Linter_instInhabitedDeprecationEntry = _init_l_Lean_Linter_instInhabitedDeprecationEntry();
lean_mark_persistent(l_Lean_Linter_instInhabitedDeprecationEntry);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__1 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__1();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__1);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__2 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__2();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__2___closed__2);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4___closed__1 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4___closed__1();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____lambda__4___closed__1);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__1 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__1();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__1);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__2);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__3 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__3();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__3);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__4 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__4();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__4);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__5 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__5();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__5);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__6 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__6();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__6);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__7 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__7();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__7);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__8 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__8();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__8);
l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__9 = _init_l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__9();
lean_mark_persistent(l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91____closed__9);
if (builtin) {res = l_Lean_Linter_initFn____x40_Lean_Linter_Deprecated___hyg_91_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Linter_deprecatedAttr = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Linter_deprecatedAttr);
lean_dec_ref(res);
}l_Lean_Linter_isDeprecated___closed__1 = _init_l_Lean_Linter_isDeprecated___closed__1();
lean_mark_persistent(l_Lean_Linter_isDeprecated___closed__1);
l_Lean_MessageData_isDeprecationWarning___closed__1 = _init_l_Lean_MessageData_isDeprecationWarning___closed__1();
lean_mark_persistent(l_Lean_MessageData_isDeprecationWarning___closed__1);
l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1 = _init_l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__1);
l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__2 = _init_l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__2);
l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__3 = _init_l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__3();
lean_mark_persistent(l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__3);
l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__4 = _init_l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__4();
lean_mark_persistent(l_Lean_Linter_checkDeprecated___rarg___lambda__1___closed__4);
l_Lean_Linter_checkDeprecated___rarg___lambda__2___closed__1 = _init_l_Lean_Linter_checkDeprecated___rarg___lambda__2___closed__1();
lean_mark_persistent(l_Lean_Linter_checkDeprecated___rarg___lambda__2___closed__1);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
