@flock/wirespec 0.20.0-RC.10 → 0.20.0-RC.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -211,8 +211,8 @@ initMetadataForObject(NullLiteral, 'NullLiteral', VOID, VOID, [Statement, Expres
211
211
  initMetadataForClass(EnumReference, 'EnumReference', VOID, VOID, [Statement, Expression]);
212
212
  initMetadataForClass(EnumValueCall, 'EnumValueCall', VOID, VOID, [Statement, Expression]);
213
213
  initMetadataForClass(NullableMap, 'NullableMap', VOID, VOID, [Statement, Expression]);
214
- initMetadataForClass(RegexMatch, 'RegexMatch', VOID, VOID, [Expression, Statement]);
215
- initMetadataForClass(BoundCheck, 'BoundCheck', VOID, VOID, [Expression, Statement]);
214
+ initMetadataForClass(RegexMatch, 'RegexMatch', VOID, VOID, [Statement, Expression]);
215
+ initMetadataForClass(BoundCheck, 'BoundCheck', VOID, VOID, [Statement, Expression]);
216
216
  initMetadataForClass(NullCheck, 'NullCheck', VOID, VOID, [Statement, Expression]);
217
217
  initMetadataForClass(Text, 'Text');
218
218
  initMetadataForClass(Expr, 'Expr');
@@ -838,7 +838,7 @@ function convertToGenerator_2(_this__u8e3s4) {
838
838
  var _iterator__ex2g4s_0 = destination.t();
839
839
  while (_iterator__ex2g4s_0.u()) {
840
840
  var item = _iterator__ex2g4s_0.v();
841
- var tmp$ret$2 = item.cv_1;
841
+ var tmp$ret$2 = item.fv_1;
842
842
  destination_0.x(tmp$ret$2);
843
843
  }
844
844
  var variantNames = destination_0;
@@ -921,7 +921,7 @@ function toGeneratorExpression(_this__u8e3s4, typeName, fieldNameStr, annotation
921
921
  _init_properties_GeneratorConverter_kt__5fy8pf();
922
922
  var outerPath = pathPlus(fieldNameStr);
923
923
  var tmp;
924
- if (_this__u8e3s4.uu()) {
924
+ if (_this__u8e3s4.xu()) {
925
925
  tmp = new FunctionCall(new VariableReference(Companion_getInstance().s1h('generator')), VOID, Companion_getInstance().s1h('generate'), mapOf_0([to(Companion_getInstance().s1h('path'), outerPath), to(Companion_getInstance().s1h('field'), new ConstructorStatement(Custom_init_$Create$('Wirespec.GeneratorFieldNullable'), mapOf(to(Companion_getInstance().s1h('generate'), new Lambda(lambdaPathParam(0), buildLeafExpr(_this__u8e3s4, lambdaPathRef(0), typeName, annotations, module_0, 0))))))]));
926
926
  } else {
927
927
  tmp = buildLeafExpr(_this__u8e3s4, outerPath, typeName, annotations, module_0, -1);
@@ -948,10 +948,10 @@ function annotationsToIrList(annotations) {
948
948
  function toFieldDescriptor(_this__u8e3s4, annotations) {
949
949
  _init_properties_GeneratorConverter_kt__5fy8pf();
950
950
  var annotationsArg = annotationsToIrList(annotations);
951
- var t = _this__u8e3s4.gv_1;
951
+ var t = _this__u8e3s4.rt_1;
952
952
  var tmp;
953
953
  if (t instanceof String_0) {
954
- var constraint = t.iu_1;
954
+ var constraint = t.lu_1;
955
955
  var tmp_0 = Custom_init_$Create$('Wirespec.GeneratorFieldString');
956
956
  var tmp_1 = Companion_getInstance().s1h('regex');
957
957
  var tmp_2;
@@ -965,12 +965,12 @@ function toFieldDescriptor(_this__u8e3s4, annotations) {
965
965
  } else {
966
966
  if (t instanceof Integer) {
967
967
  var tmp_4;
968
- switch (t.ku_1.b3_1) {
968
+ switch (t.nu_1.b3_1) {
969
969
  case 1:
970
970
  var tmp_5 = Custom_init_$Create$('Wirespec.GeneratorFieldInteger64');
971
971
  var tmp_6 = Companion_getInstance().s1h('min');
972
- var tmp1_safe_receiver = t.lu_1;
973
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gu_1;
972
+ var tmp1_safe_receiver = t.ou_1;
973
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.ju_1;
974
974
  var tmp_7;
975
975
  if (tmp2_safe_receiver == null) {
976
976
  tmp_7 = null;
@@ -982,8 +982,8 @@ function toFieldDescriptor(_this__u8e3s4, annotations) {
982
982
  var tmp3_elvis_lhs = tmp_7;
983
983
  var tmp_8 = to(tmp_6, tmp3_elvis_lhs == null ? NullableEmpty_instance : tmp3_elvis_lhs);
984
984
  var tmp_9 = Companion_getInstance().s1h('max');
985
- var tmp4_safe_receiver = t.lu_1;
986
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.hu_1;
985
+ var tmp4_safe_receiver = t.ou_1;
986
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.ku_1;
987
987
  var tmp_10;
988
988
  if (tmp5_safe_receiver == null) {
989
989
  tmp_10 = null;
@@ -998,8 +998,8 @@ function toFieldDescriptor(_this__u8e3s4, annotations) {
998
998
  case 0:
999
999
  var tmp_11 = Custom_init_$Create$('Wirespec.GeneratorFieldInteger32');
1000
1000
  var tmp_12 = Companion_getInstance().s1h('min');
1001
- var tmp7_safe_receiver = t.lu_1;
1002
- var tmp8_safe_receiver = tmp7_safe_receiver == null ? null : tmp7_safe_receiver.gu_1;
1001
+ var tmp7_safe_receiver = t.ou_1;
1002
+ var tmp8_safe_receiver = tmp7_safe_receiver == null ? null : tmp7_safe_receiver.ju_1;
1003
1003
  var tmp_13;
1004
1004
  if (tmp8_safe_receiver == null) {
1005
1005
  tmp_13 = null;
@@ -1011,8 +1011,8 @@ function toFieldDescriptor(_this__u8e3s4, annotations) {
1011
1011
  var tmp9_elvis_lhs = tmp_13;
1012
1012
  var tmp_14 = to(tmp_12, tmp9_elvis_lhs == null ? NullableEmpty_instance : tmp9_elvis_lhs);
1013
1013
  var tmp_15 = Companion_getInstance().s1h('max');
1014
- var tmp10_safe_receiver = t.lu_1;
1015
- var tmp11_safe_receiver = tmp10_safe_receiver == null ? null : tmp10_safe_receiver.hu_1;
1014
+ var tmp10_safe_receiver = t.ou_1;
1015
+ var tmp11_safe_receiver = tmp10_safe_receiver == null ? null : tmp10_safe_receiver.ku_1;
1016
1016
  var tmp_16;
1017
1017
  if (tmp11_safe_receiver == null) {
1018
1018
  tmp_16 = null;
@@ -1032,12 +1032,12 @@ function toFieldDescriptor(_this__u8e3s4, annotations) {
1032
1032
  } else {
1033
1033
  if (t instanceof Number_0) {
1034
1034
  var tmp_17;
1035
- switch (t.nu_1.b3_1) {
1035
+ switch (t.qu_1.b3_1) {
1036
1036
  case 1:
1037
1037
  var tmp_18 = Custom_init_$Create$('Wirespec.GeneratorFieldNumber64');
1038
1038
  var tmp_19 = Companion_getInstance().s1h('min');
1039
- var tmp14_safe_receiver = t.ou_1;
1040
- var tmp15_safe_receiver = tmp14_safe_receiver == null ? null : tmp14_safe_receiver.gu_1;
1039
+ var tmp14_safe_receiver = t.ru_1;
1040
+ var tmp15_safe_receiver = tmp14_safe_receiver == null ? null : tmp14_safe_receiver.ju_1;
1041
1041
  var tmp_20;
1042
1042
  if (tmp15_safe_receiver == null) {
1043
1043
  tmp_20 = null;
@@ -1049,8 +1049,8 @@ function toFieldDescriptor(_this__u8e3s4, annotations) {
1049
1049
  var tmp16_elvis_lhs = tmp_20;
1050
1050
  var tmp_21 = to(tmp_19, tmp16_elvis_lhs == null ? NullableEmpty_instance : tmp16_elvis_lhs);
1051
1051
  var tmp_22 = Companion_getInstance().s1h('max');
1052
- var tmp17_safe_receiver = t.ou_1;
1053
- var tmp18_safe_receiver = tmp17_safe_receiver == null ? null : tmp17_safe_receiver.hu_1;
1052
+ var tmp17_safe_receiver = t.ru_1;
1053
+ var tmp18_safe_receiver = tmp17_safe_receiver == null ? null : tmp17_safe_receiver.ku_1;
1054
1054
  var tmp_23;
1055
1055
  if (tmp18_safe_receiver == null) {
1056
1056
  tmp_23 = null;
@@ -1065,8 +1065,8 @@ function toFieldDescriptor(_this__u8e3s4, annotations) {
1065
1065
  case 0:
1066
1066
  var tmp_24 = Custom_init_$Create$('Wirespec.GeneratorFieldNumber32');
1067
1067
  var tmp_25 = Companion_getInstance().s1h('min');
1068
- var tmp20_safe_receiver = t.ou_1;
1069
- var tmp21_safe_receiver = tmp20_safe_receiver == null ? null : tmp20_safe_receiver.gu_1;
1068
+ var tmp20_safe_receiver = t.ru_1;
1069
+ var tmp21_safe_receiver = tmp20_safe_receiver == null ? null : tmp20_safe_receiver.ju_1;
1070
1070
  var tmp_26;
1071
1071
  if (tmp21_safe_receiver == null) {
1072
1072
  tmp_26 = null;
@@ -1082,8 +1082,8 @@ function toFieldDescriptor(_this__u8e3s4, annotations) {
1082
1082
  var tmp22_elvis_lhs = tmp_26;
1083
1083
  var tmp_27 = to(tmp_25, tmp22_elvis_lhs == null ? NullableEmpty_instance : tmp22_elvis_lhs);
1084
1084
  var tmp_28 = Companion_getInstance().s1h('max');
1085
- var tmp23_safe_receiver = t.ou_1;
1086
- var tmp24_safe_receiver = tmp23_safe_receiver == null ? null : tmp23_safe_receiver.hu_1;
1085
+ var tmp23_safe_receiver = t.ru_1;
1086
+ var tmp24_safe_receiver = tmp23_safe_receiver == null ? null : tmp23_safe_receiver.ku_1;
1087
1087
  var tmp_29;
1088
1088
  if (tmp24_safe_receiver == null) {
1089
1089
  tmp_29 = null;
@@ -1159,7 +1159,7 @@ function buildLeafExpr(ref, pathExpr, typeName, annotations, module_0, depth) {
1159
1159
  tmp = new FunctionCall(new VariableReference(Companion_getInstance().s1h('generator')), VOID, Companion_getInstance().s1h('generate'), mapOf_0([to(Companion_getInstance().s1h('path'), pathExpr), to(Companion_getInstance().s1h('field'), toFieldDescriptor(ref, annotations))]));
1160
1160
  } else {
1161
1161
  if (ref instanceof Custom) {
1162
- tmp = new FunctionCall(new VariableReference(Companion_getInstance().s1h('generator')), VOID, Companion_getInstance().s1h('generate'), mapOf_0([to(Companion_getInstance().s1h('path'), pathExpr), to(Companion_getInstance().s1h('field'), shapeConstructor(ref.cv_1, targetFieldAnnotationsMap(ref.cv_1, annotations, module_0), depth + 1 | 0))]));
1162
+ tmp = new FunctionCall(new VariableReference(Companion_getInstance().s1h('generator')), VOID, Companion_getInstance().s1h('generate'), mapOf_0([to(Companion_getInstance().s1h('path'), pathExpr), to(Companion_getInstance().s1h('field'), shapeConstructor(ref.fv_1, targetFieldAnnotationsMap(ref.fv_1, annotations, module_0), depth + 1 | 0))]));
1163
1163
  } else {
1164
1164
  if (ref instanceof Iterable) {
1165
1165
  tmp = new FunctionCall(new VariableReference(Companion_getInstance().s1h('generator')), VOID, Companion_getInstance().s1h('generate'), mapOf_0([to(Companion_getInstance().s1h('path'), pathExpr), to(Companion_getInstance().s1h('field'), new ConstructorStatement(Custom_init_$Create$('Wirespec.GeneratorFieldArray'), mapOf(to(Companion_getInstance().s1h('generate'), new Lambda(lambdaPathParam(depth + 1 | 0), buildLeafExpr(ref.po_1, lambdaPathRef(depth + 1 | 0), typeName, annotations, module_0, depth + 1 | 0))))))]));
@@ -1190,9 +1190,9 @@ function lambdaPathRef(depth) {
1190
1190
  }
1191
1191
  function toIrLiteralMap(_this__u8e3s4) {
1192
1192
  _init_properties_GeneratorConverter_kt__5fy8pf();
1193
- var tmp = to('name', new Literal_0(_this__u8e3s4.eu_1, String_instance));
1193
+ var tmp = to('name', new Literal_0(_this__u8e3s4.hu_1, String_instance));
1194
1194
  // Inline function 'kotlin.collections.associate' call
1195
- var this_0 = _this__u8e3s4.fu_1;
1195
+ var this_0 = _this__u8e3s4.iu_1;
1196
1196
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
1197
1197
  // Inline function 'kotlin.collections.associateTo' call
1198
1198
  var destination = LinkedHashMap_init_$Create$(capacity);
@@ -1200,7 +1200,7 @@ function toIrLiteralMap(_this__u8e3s4) {
1200
1200
  while (_iterator__ex2g4s.u()) {
1201
1201
  var element = _iterator__ex2g4s.v();
1202
1202
  // Inline function 'kotlin.collections.plusAssign' call
1203
- var pair = to(element.cu_1, annotationValueToIrExpression(element.du_1));
1203
+ var pair = to(element.fu_1, annotationValueToIrExpression(element.gu_1));
1204
1204
  destination.s2(pair.ef_1, pair.ff_1);
1205
1205
  }
1206
1206
  return new LiteralMap(mapOf_0([tmp, to('parameters', new LiteralMap(destination, String_instance, Any_instance))]), String_instance, Any_instance);
@@ -1288,24 +1288,24 @@ function annotationValueToIrExpression(value) {
1288
1288
  _init_properties_GeneratorConverter_kt__5fy8pf();
1289
1289
  var tmp;
1290
1290
  if (value instanceof Single) {
1291
- tmp = coerceAnnotationValueLiteral(value.zt_1);
1291
+ tmp = coerceAnnotationValueLiteral(value.cu_1);
1292
1292
  } else {
1293
1293
  if (value instanceof Array_0) {
1294
1294
  // Inline function 'kotlin.collections.map' call
1295
- var this_0 = value.au_1;
1295
+ var this_0 = value.du_1;
1296
1296
  // Inline function 'kotlin.collections.mapTo' call
1297
1297
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
1298
1298
  var _iterator__ex2g4s = this_0.t();
1299
1299
  while (_iterator__ex2g4s.u()) {
1300
1300
  var item = _iterator__ex2g4s.v();
1301
- var tmp$ret$0 = coerceAnnotationValueLiteral(item.zt_1);
1301
+ var tmp$ret$0 = coerceAnnotationValueLiteral(item.cu_1);
1302
1302
  destination.x(tmp$ret$0);
1303
1303
  }
1304
1304
  tmp = new LiteralList(destination, Any_instance);
1305
1305
  } else {
1306
1306
  if (value instanceof Dict_0) {
1307
1307
  // Inline function 'kotlin.collections.associate' call
1308
- var this_1 = value.bu_1;
1308
+ var this_1 = value.eu_1;
1309
1309
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_1, 10)), 16);
1310
1310
  // Inline function 'kotlin.collections.associateTo' call
1311
1311
  var destination_0 = LinkedHashMap_init_$Create$(capacity);
@@ -1313,7 +1313,7 @@ function annotationValueToIrExpression(value) {
1313
1313
  while (_iterator__ex2g4s_0.u()) {
1314
1314
  var element = _iterator__ex2g4s_0.v();
1315
1315
  // Inline function 'kotlin.collections.plusAssign' call
1316
- var pair = to(element.cu_1, annotationValueToIrExpression(element.du_1));
1316
+ var pair = to(element.fu_1, annotationValueToIrExpression(element.gu_1));
1317
1317
  destination_0.s2(pair.ef_1, pair.ff_1);
1318
1318
  }
1319
1319
  tmp = new LiteralMap(destination_0, String_instance, Any_instance);
@@ -1559,7 +1559,7 @@ function convert_5(_this__u8e3s4) {
1559
1559
  tmp = Custom_init_$Create$('Any');
1560
1560
  } else {
1561
1561
  if (_this__u8e3s4 instanceof Custom) {
1562
- tmp = Custom_init_$Create$(Companion_getInstance().s1h(_this__u8e3s4.cv_1).t1h());
1562
+ tmp = Custom_init_$Create$(Companion_getInstance().s1h(_this__u8e3s4.fv_1).t1h());
1563
1563
  } else {
1564
1564
  if (_this__u8e3s4 instanceof Dict) {
1565
1565
  tmp = new Dict_1(String_instance, convert_5(_this__u8e3s4.so_1));
@@ -1568,7 +1568,7 @@ function convert_5(_this__u8e3s4) {
1568
1568
  tmp = new Array_1(convert_5(_this__u8e3s4.po_1));
1569
1569
  } else {
1570
1570
  if (_this__u8e3s4 instanceof Primitive) {
1571
- var t = _this__u8e3s4.gv_1;
1571
+ var t = _this__u8e3s4.rt_1;
1572
1572
  var tmp_0;
1573
1573
  if (equals(t, Boolean_instance)) {
1574
1574
  tmp_0 = Boolean_instance_0;
@@ -1578,7 +1578,7 @@ function convert_5(_this__u8e3s4) {
1578
1578
  } else {
1579
1579
  if (t instanceof Integer) {
1580
1580
  var tmp_1;
1581
- switch (t.ku_1.b3_1) {
1581
+ switch (t.nu_1.b3_1) {
1582
1582
  case 0:
1583
1583
  tmp_1 = new Integer_0(Precision_P32_getInstance());
1584
1584
  break;
@@ -1593,7 +1593,7 @@ function convert_5(_this__u8e3s4) {
1593
1593
  } else {
1594
1594
  if (t instanceof Number_0) {
1595
1595
  var tmp_2;
1596
- switch (t.nu_1.b3_1) {
1596
+ switch (t.qu_1.b3_1) {
1597
1597
  case 0:
1598
1598
  tmp_2 = new Number_1(Precision_P32_getInstance());
1599
1599
  break;
@@ -1629,7 +1629,7 @@ function convert_5(_this__u8e3s4) {
1629
1629
  }
1630
1630
  // Inline function 'kotlin.let' call
1631
1631
  var it = tmp;
1632
- return _this__u8e3s4.uu() ? new Nullable(it) : it;
1632
+ return _this__u8e3s4.xu() ? new Nullable(it) : it;
1633
1633
  }
1634
1634
  function FieldValidation(fieldName, fieldPath, kind, isNullable, typeName, elementIsNullable) {
1635
1635
  elementIsNullable = elementIsNullable === VOID ? false : elementIsNullable;
@@ -1682,9 +1682,9 @@ function classifyValidatableFields(_this__u8e3s4, module_0) {
1682
1682
  var fieldName = toName(field.rp_1);
1683
1683
  var fieldPath = field.rp_1.l1();
1684
1684
  var ref = field.sp_1;
1685
- var isNullable = ref.uu();
1685
+ var isNullable = ref.xu();
1686
1686
  if (ref instanceof Custom) {
1687
- var typeName = ref.cv_1;
1687
+ var typeName = ref.fv_1;
1688
1688
  var tmp0 = new NonEmptyList(module_0.uq_1);
1689
1689
  var tmp$ret$1;
1690
1690
  $l$block: {
@@ -1710,7 +1710,7 @@ function classifyValidatableFields(_this__u8e3s4, module_0) {
1710
1710
  if (ref instanceof Iterable) {
1711
1711
  var inner = ref.po_1;
1712
1712
  if (inner instanceof Custom) {
1713
- var typeName_0 = inner.cv_1;
1713
+ var typeName_0 = inner.fv_1;
1714
1714
  var tmp0_0 = new NonEmptyList(module_0.uq_1);
1715
1715
  var tmp$ret$3;
1716
1716
  $l$block_0: {
@@ -1727,10 +1727,10 @@ function classifyValidatableFields(_this__u8e3s4, module_0) {
1727
1727
  }
1728
1728
  var def_0 = tmp$ret$3;
1729
1729
  if (def_0 instanceof Type)
1730
- this_0.x(new FieldValidation(fieldName, fieldPath, Kind_MODEL_ARRAY_getInstance(), isNullable, typeName_0, inner.dv_1));
1730
+ this_0.x(new FieldValidation(fieldName, fieldPath, Kind_MODEL_ARRAY_getInstance(), isNullable, typeName_0, inner.gv_1));
1731
1731
  else {
1732
1732
  if (def_0 instanceof Refined)
1733
- this_0.x(new FieldValidation(fieldName, fieldPath, Kind_REFINED_ARRAY_getInstance(), isNullable, typeName_0, inner.dv_1));
1733
+ this_0.x(new FieldValidation(fieldName, fieldPath, Kind_REFINED_ARRAY_getInstance(), isNullable, typeName_0, inner.gv_1));
1734
1734
  }
1735
1735
  }
1736
1736
  }
@@ -1739,10 +1739,10 @@ function classifyValidatableFields(_this__u8e3s4, module_0) {
1739
1739
  return this_0.o5();
1740
1740
  }
1741
1741
  function convertConstraint(_this__u8e3s4, value) {
1742
- var t = _this__u8e3s4.gv_1;
1742
+ var t = _this__u8e3s4.rt_1;
1743
1743
  var tmp;
1744
1744
  if (t instanceof String_0) {
1745
- var tmp0_safe_receiver = t.iu_1;
1745
+ var tmp0_safe_receiver = t.lu_1;
1746
1746
  var tmp_0;
1747
1747
  var tmp_1 = tmp0_safe_receiver;
1748
1748
  if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
@@ -1753,11 +1753,11 @@ function convertConstraint(_this__u8e3s4, value) {
1753
1753
  tmp = tmp_0;
1754
1754
  } else {
1755
1755
  if (t instanceof Integer) {
1756
- var tmp1_safe_receiver = t.lu_1;
1756
+ var tmp1_safe_receiver = t.ou_1;
1757
1757
  tmp = tmp1_safe_receiver == null ? null : convert_7(tmp1_safe_receiver, value);
1758
1758
  } else {
1759
1759
  if (t instanceof Number_0) {
1760
- var tmp2_safe_receiver = t.ou_1;
1760
+ var tmp2_safe_receiver = t.ru_1;
1761
1761
  tmp = tmp2_safe_receiver == null ? null : convert_7(tmp2_safe_receiver, value);
1762
1762
  } else {
1763
1763
  if (equals(t, Boolean_instance)) {
@@ -1970,14 +1970,14 @@ function toTypeDescriptor(_this__u8e3s4) {
1970
1970
  return new TypeDescriptor(convert_5(_this__u8e3s4));
1971
1971
  }
1972
1972
  function serializeParamExpression(fieldAccess, field) {
1973
- var type = field.sp_1.wu(false);
1973
+ var type = field.sp_1.zu(false);
1974
1974
  var tmp0_receiver = new VariableReference(Companion_getInstance().s1h('serialization'));
1975
1975
  var tmp1_name = Name_init_$Create$(['serialize', 'Param']);
1976
1976
  var tmp2_typeArguments = listOf(convert_5(type));
1977
1977
  var tmp3_arguments = mapOf_0([to(Companion_getInstance().s1h('value'), new VariableReference(Companion_getInstance().s1h('it'))), to(Companion_getInstance().s1h('type'), toTypeDescriptor(type))]);
1978
1978
  var serializeCall = new FunctionCall(tmp0_receiver, tmp2_typeArguments, tmp1_name, tmp3_arguments);
1979
1979
  var tmp;
1980
- if (field.sp_1.uu()) {
1980
+ if (field.sp_1.xu()) {
1981
1981
  tmp = new NullableMap(fieldAccess, serializeCall, new LiteralList(emptyList(), String_instance));
1982
1982
  } else {
1983
1983
  var tmp4_receiver = new VariableReference(Companion_getInstance().s1h('serialization'));
@@ -1990,7 +1990,7 @@ function serializeParamExpression(fieldAccess, field) {
1990
1990
  }
1991
1991
  function deserializeParamExpression(map, fieldName, field, caseSensitive) {
1992
1992
  caseSensitive = caseSensitive === VOID ? true : caseSensitive;
1993
- var type = field.sp_1.wu(false);
1993
+ var type = field.sp_1.zu(false);
1994
1994
  var getCall = new ArrayIndexCall(map, new Literal_0(fieldName, String_instance), caseSensitive);
1995
1995
  var tmp0_receiver = new VariableReference(Companion_getInstance().s1h('serialization'));
1996
1996
  var tmp1_name = Name_init_$Create$(['deserialize', 'Param']);
@@ -1998,7 +1998,7 @@ function deserializeParamExpression(map, fieldName, field, caseSensitive) {
1998
1998
  var tmp3_arguments = mapOf_0([to(Companion_getInstance().s1h('value'), new VariableReference(Companion_getInstance().s1h('it'))), to(Companion_getInstance().s1h('type'), toTypeDescriptor(type))]);
1999
1999
  var tmp = new FunctionCall(tmp0_receiver, tmp2_typeArguments, tmp1_name, tmp3_arguments);
2000
2000
  var tmp_0;
2001
- if (field.sp_1.uu()) {
2001
+ if (field.sp_1.xu()) {
2002
2002
  tmp_0 = null;
2003
2003
  } else {
2004
2004
  tmp_0 = new ErrorStatement(new Literal_0('Param ' + fieldName + ' cannot be null', String_instance));
@@ -2028,7 +2028,7 @@ function convert_7(_this__u8e3s4, value) {
2028
2028
  tmp = new RegexMatch(joinToString(dropLast(drop(split(_RegExp___get_value__impl__7o7618(_this__u8e3s4.qt_1), ['/']), 1), 1), '/'), _RegExp___get_value__impl__7o7618(_this__u8e3s4.qt_1), value);
2029
2029
  } else {
2030
2030
  if (_this__u8e3s4 instanceof Bound) {
2031
- tmp = new BoundCheck(_this__u8e3s4.gu_1, _this__u8e3s4.hu_1, value);
2031
+ tmp = new BoundCheck(_this__u8e3s4.ju_1, _this__u8e3s4.ku_1, value);
2032
2032
  } else {
2033
2033
  noWhenBranchMatchedException();
2034
2034
  }
@@ -2569,7 +2569,7 @@ function convert$lambda$lambda$lambda_36($this_convert) {
2569
2569
  return function ($this$function) {
2570
2570
  $this$function.j1i(String_instance);
2571
2571
  var tmp;
2572
- var tmp_0 = $this_convert.ur_1.gv_1;
2572
+ var tmp_0 = $this_convert.ur_1.rt_1;
2573
2573
  if (tmp_0 instanceof String_0) {
2574
2574
  tmp = new VariableReference(Companion_getInstance().s1h('value'));
2575
2575
  } else {
@@ -883,18 +883,18 @@ function WsReference() {
883
883
  function WsAny(isNullable) {
884
884
  this.ox_1 = isNullable;
885
885
  }
886
- protoOf(WsAny).uu = function () {
886
+ protoOf(WsAny).xu = function () {
887
887
  return this.ox_1;
888
888
  };
889
889
  protoOf(WsAny).ve = function () {
890
890
  return this.ox_1;
891
891
  };
892
- protoOf(WsAny).vu = function (isNullable) {
892
+ protoOf(WsAny).yu = function (isNullable) {
893
893
  return new WsAny(isNullable);
894
894
  };
895
895
  protoOf(WsAny).copy = function (isNullable, $super) {
896
896
  isNullable = isNullable === VOID ? this.ox_1 : isNullable;
897
- return $super === VOID ? this.vu(isNullable) : $super.vu.call(this, isNullable);
897
+ return $super === VOID ? this.yu(isNullable) : $super.yu.call(this, isNullable);
898
898
  };
899
899
  protoOf(WsAny).toString = function () {
900
900
  return 'WsAny(isNullable=' + this.ox_1 + ')';
@@ -914,18 +914,18 @@ protoOf(WsAny).equals = function (other) {
914
914
  function WsUnit(isNullable) {
915
915
  this.px_1 = isNullable;
916
916
  }
917
- protoOf(WsUnit).uu = function () {
917
+ protoOf(WsUnit).xu = function () {
918
918
  return this.px_1;
919
919
  };
920
920
  protoOf(WsUnit).ve = function () {
921
921
  return this.px_1;
922
922
  };
923
- protoOf(WsUnit).vu = function (isNullable) {
923
+ protoOf(WsUnit).yu = function (isNullable) {
924
924
  return new WsUnit(isNullable);
925
925
  };
926
926
  protoOf(WsUnit).copy = function (isNullable, $super) {
927
927
  isNullable = isNullable === VOID ? this.px_1 : isNullable;
928
- return $super === VOID ? this.vu(isNullable) : $super.vu.call(this, isNullable);
928
+ return $super === VOID ? this.yu(isNullable) : $super.yu.call(this, isNullable);
929
929
  };
930
930
  protoOf(WsUnit).toString = function () {
931
931
  return 'WsUnit(isNullable=' + this.px_1 + ')';
@@ -949,7 +949,7 @@ function WsIterable(reference, isNullable) {
949
949
  protoOf(WsIterable).gx = function () {
950
950
  return this.reference;
951
951
  };
952
- protoOf(WsIterable).uu = function () {
952
+ protoOf(WsIterable).xu = function () {
953
953
  return this.qx_1;
954
954
  };
955
955
  protoOf(WsIterable).ve = function () {
@@ -992,7 +992,7 @@ function WsDict(reference, isNullable) {
992
992
  protoOf(WsDict).gx = function () {
993
993
  return this.reference;
994
994
  };
995
- protoOf(WsDict).uu = function () {
995
+ protoOf(WsDict).xu = function () {
996
996
  return this.sx_1;
997
997
  };
998
998
  protoOf(WsDict).ve = function () {
@@ -1035,7 +1035,7 @@ function WsCustom(value, isNullable) {
1035
1035
  protoOf(WsCustom).l1 = function () {
1036
1036
  return this.value;
1037
1037
  };
1038
- protoOf(WsCustom).uu = function () {
1038
+ protoOf(WsCustom).xu = function () {
1039
1039
  return this.tx_1;
1040
1040
  };
1041
1041
  protoOf(WsCustom).ve = function () {
@@ -1044,13 +1044,13 @@ protoOf(WsCustom).ve = function () {
1044
1044
  protoOf(WsCustom).we = function () {
1045
1045
  return this.tx_1;
1046
1046
  };
1047
- protoOf(WsCustom).ev = function (value, isNullable) {
1047
+ protoOf(WsCustom).hv = function (value, isNullable) {
1048
1048
  return new WsCustom(value, isNullable);
1049
1049
  };
1050
1050
  protoOf(WsCustom).copy = function (value, isNullable, $super) {
1051
1051
  value = value === VOID ? this.value : value;
1052
1052
  isNullable = isNullable === VOID ? this.tx_1 : isNullable;
1053
- return $super === VOID ? this.ev(value, isNullable) : $super.ev.call(this, value, isNullable);
1053
+ return $super === VOID ? this.hv(value, isNullable) : $super.hv.call(this, value, isNullable);
1054
1054
  };
1055
1055
  protoOf(WsCustom).toString = function () {
1056
1056
  return 'WsCustom(value=' + this.value + ', isNullable=' + this.tx_1 + ')';
@@ -1080,7 +1080,7 @@ function WsPrimitive(type, isNullable, constraint) {
1080
1080
  protoOf(WsPrimitive).vx = function () {
1081
1081
  return this.type;
1082
1082
  };
1083
- protoOf(WsPrimitive).uu = function () {
1083
+ protoOf(WsPrimitive).xu = function () {
1084
1084
  return this.ux_1;
1085
1085
  };
1086
1086
  protoOf(WsPrimitive).wx = function () {
@@ -1347,7 +1347,7 @@ protoOf(WsContent).vx = function () {
1347
1347
  protoOf(WsContent).gx = function () {
1348
1348
  return this.reference;
1349
1349
  };
1350
- protoOf(WsContent).uu = function () {
1350
+ protoOf(WsContent).xu = function () {
1351
1351
  return this.isNullable;
1352
1352
  };
1353
1353
  protoOf(WsContent).ve = function () {
@@ -1603,16 +1603,16 @@ function produce_5(_this__u8e3s4) {
1603
1603
  function produce_6(_this__u8e3s4) {
1604
1604
  var tmp;
1605
1605
  if (_this__u8e3s4 instanceof Any) {
1606
- tmp = new WsAny(_this__u8e3s4.su_1);
1606
+ tmp = new WsAny(_this__u8e3s4.vu_1);
1607
1607
  } else {
1608
1608
  if (_this__u8e3s4 instanceof Unit) {
1609
- tmp = new WsUnit(_this__u8e3s4.xu_1);
1609
+ tmp = new WsUnit(_this__u8e3s4.av_1);
1610
1610
  } else {
1611
1611
  if (_this__u8e3s4 instanceof Custom) {
1612
- tmp = new WsCustom(_this__u8e3s4.cv_1, _this__u8e3s4.dv_1);
1612
+ tmp = new WsCustom(_this__u8e3s4.fv_1, _this__u8e3s4.gv_1);
1613
1613
  } else {
1614
1614
  if (_this__u8e3s4 instanceof Primitive) {
1615
- tmp = new WsPrimitive(produce_11(_this__u8e3s4.gv_1), _this__u8e3s4.hv_1, produceConstraint(_this__u8e3s4.gv_1));
1615
+ tmp = new WsPrimitive(produce_11(_this__u8e3s4.rt_1), _this__u8e3s4.st_1, produceConstraint(_this__u8e3s4.rt_1));
1616
1616
  } else {
1617
1617
  if (_this__u8e3s4 instanceof Dict) {
1618
1618
  tmp = new WsDict(produce_6(_this__u8e3s4.so_1), _this__u8e3s4.to_1);
@@ -1662,7 +1662,7 @@ function produce_11(_this__u8e3s4) {
1662
1662
  } else {
1663
1663
  if (_this__u8e3s4 instanceof Integer) {
1664
1664
  var tmp_0;
1665
- switch (_this__u8e3s4.ku_1.b3_1) {
1665
+ switch (_this__u8e3s4.nu_1.b3_1) {
1666
1666
  case 0:
1667
1667
  tmp_0 = WsPrimitiveType_Integer32_getInstance();
1668
1668
  break;
@@ -1677,7 +1677,7 @@ function produce_11(_this__u8e3s4) {
1677
1677
  } else {
1678
1678
  if (_this__u8e3s4 instanceof Number_0) {
1679
1679
  var tmp_1;
1680
- switch (_this__u8e3s4.nu_1.b3_1) {
1680
+ switch (_this__u8e3s4.qu_1.b3_1) {
1681
1681
  case 0:
1682
1682
  tmp_1 = WsPrimitiveType_Number32_getInstance();
1683
1683
  break;
@@ -1707,7 +1707,7 @@ function produce_11(_this__u8e3s4) {
1707
1707
  function produceConstraint(_this__u8e3s4) {
1708
1708
  var tmp;
1709
1709
  if (_this__u8e3s4 instanceof String_0) {
1710
- var tmp1_safe_receiver = _this__u8e3s4.iu_1;
1710
+ var tmp1_safe_receiver = _this__u8e3s4.lu_1;
1711
1711
  var tmp_0;
1712
1712
  var tmp_1 = tmp1_safe_receiver;
1713
1713
  if ((tmp_1 == null ? null : new RegExp_0(tmp_1)) == null) {
@@ -1721,24 +1721,24 @@ function produceConstraint(_this__u8e3s4) {
1721
1721
  tmp = tmp_0;
1722
1722
  } else {
1723
1723
  if (_this__u8e3s4 instanceof Integer) {
1724
- var tmp2_safe_receiver = _this__u8e3s4.lu_1;
1724
+ var tmp2_safe_receiver = _this__u8e3s4.ou_1;
1725
1725
  var tmp_3;
1726
1726
  if (tmp2_safe_receiver == null) {
1727
1727
  tmp_3 = null;
1728
1728
  } else {
1729
1729
  // Inline function 'kotlin.let' call
1730
- tmp_3 = new WsBoundConstraint(tmp2_safe_receiver.gu_1, tmp2_safe_receiver.hu_1);
1730
+ tmp_3 = new WsBoundConstraint(tmp2_safe_receiver.ju_1, tmp2_safe_receiver.ku_1);
1731
1731
  }
1732
1732
  tmp = tmp_3;
1733
1733
  } else {
1734
1734
  if (_this__u8e3s4 instanceof Number_0) {
1735
- var tmp3_safe_receiver = _this__u8e3s4.ou_1;
1735
+ var tmp3_safe_receiver = _this__u8e3s4.ru_1;
1736
1736
  var tmp_4;
1737
1737
  if (tmp3_safe_receiver == null) {
1738
1738
  tmp_4 = null;
1739
1739
  } else {
1740
1740
  // Inline function 'kotlin.let' call
1741
- tmp_4 = new WsBoundConstraint(tmp3_safe_receiver.gu_1, tmp3_safe_receiver.hu_1);
1741
+ tmp_4 = new WsBoundConstraint(tmp3_safe_receiver.ju_1, tmp3_safe_receiver.ku_1);
1742
1742
  }
1743
1743
  tmp = tmp_4;
1744
1744
  } else {
@@ -2746,22 +2746,22 @@ defineProp(protoOf(WsRefined), 'comment', function () {
2746
2746
  defineProp(protoOf(WsMethod), 'name', protoOf(WsMethod).m);
2747
2747
  defineProp(protoOf(WsMethod), 'ordinal', protoOf(WsMethod).c3);
2748
2748
  defineProp(protoOf(WsAny), 'isNullable', function () {
2749
- return this.uu();
2749
+ return this.xu();
2750
2750
  });
2751
2751
  defineProp(protoOf(WsUnit), 'isNullable', function () {
2752
- return this.uu();
2752
+ return this.xu();
2753
2753
  });
2754
2754
  defineProp(protoOf(WsIterable), 'isNullable', function () {
2755
- return this.uu();
2755
+ return this.xu();
2756
2756
  });
2757
2757
  defineProp(protoOf(WsDict), 'isNullable', function () {
2758
- return this.uu();
2758
+ return this.xu();
2759
2759
  });
2760
2760
  defineProp(protoOf(WsCustom), 'isNullable', function () {
2761
- return this.uu();
2761
+ return this.xu();
2762
2762
  });
2763
2763
  defineProp(protoOf(WsPrimitive), 'isNullable', function () {
2764
- return this.uu();
2764
+ return this.xu();
2765
2765
  });
2766
2766
  defineProp(protoOf(WsPrimitiveType), 'name', protoOf(WsPrimitiveType).m);
2767
2767
  defineProp(protoOf(WsPrimitiveType), 'ordinal', protoOf(WsPrimitiveType).c3);
@@ -470,14 +470,14 @@ protoOf(AvroJsonEmitter).y49 = function (_this__u8e3s4, module_0, hasEmitted) {
470
470
  tmp = new ArrayType('array', this.y49(_this__u8e3s4.po_1, module_0, hasEmitted));
471
471
  } else {
472
472
  if (_this__u8e3s4 instanceof Primitive) {
473
- var type = _this__u8e3s4.gv_1;
473
+ var type = _this__u8e3s4.rt_1;
474
474
  var tmp_0;
475
475
  if (type instanceof String_0) {
476
476
  tmp_0 = new SimpleType('string');
477
477
  } else {
478
478
  if (type instanceof Integer) {
479
479
  var tmp_1;
480
- switch (type.ku_1.b3_1) {
480
+ switch (type.nu_1.b3_1) {
481
481
  case 0:
482
482
  tmp_1 = new SimpleType('int');
483
483
  break;
@@ -492,7 +492,7 @@ protoOf(AvroJsonEmitter).y49 = function (_this__u8e3s4, module_0, hasEmitted) {
492
492
  } else {
493
493
  if (type instanceof Number_0) {
494
494
  var tmp_2;
495
- switch (type.nu_1.b3_1) {
495
+ switch (type.qu_1.b3_1) {
496
496
  case 0:
497
497
  tmp_2 = new SimpleType('float');
498
498
  break;
@@ -520,7 +520,7 @@ protoOf(AvroJsonEmitter).y49 = function (_this__u8e3s4, module_0, hasEmitted) {
520
520
  tmp = tmp_0;
521
521
  } else {
522
522
  if (_this__u8e3s4 instanceof Custom) {
523
- var def = findType(this, module_0, _this__u8e3s4.cv_1);
523
+ var def = findType(this, module_0, _this__u8e3s4.fv_1);
524
524
  var tmp_3;
525
525
  if (def instanceof Type) {
526
526
  var tmp_4;
@@ -541,7 +541,7 @@ protoOf(AvroJsonEmitter).y49 = function (_this__u8e3s4, module_0, hasEmitted) {
541
541
  if (def instanceof Refined) {
542
542
  tmp_3 = new SimpleType('string');
543
543
  } else {
544
- tmp_3 = new SimpleType(_this__u8e3s4.cv_1);
544
+ tmp_3 = new SimpleType(_this__u8e3s4.fv_1);
545
545
  }
546
546
  }
547
547
  }
@@ -583,7 +583,7 @@ protoOf(AvroJsonEmitter).z49 = function (_this__u8e3s4, module_0, hasEmitted) {
583
583
  var item = _iterator__ex2g4s.v();
584
584
  var tmp = item.rp_1.l1();
585
585
  var tmp_0;
586
- if (item.sp_1.uu()) {
586
+ if (item.sp_1.xu()) {
587
587
  tmp_0 = new TypeList([new SimpleType('null'), AvroJsonEmitter_getInstance().a4a(item, module_0, hasEmitted)]);
588
588
  } else {
589
589
  tmp_0 = new TypeList([AvroJsonEmitter_getInstance().a4a(item, module_0, hasEmitted)]);