Skip to content

Fix generic types on function types#136

Merged
jeparlefrancais merged 2 commits intomainfrom
fix-function-generics
Oct 26, 2023
Merged

Fix generic types on function types#136
jeparlefrancais merged 2 commits intomainfrom
fix-function-generics

Conversation

@jeparlefrancais
Copy link
Contributor

  • add entry to the changelog

@github-actions
Copy link

Coverage after merging fix-function-generics into main will be

87.00%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ast_converter.rs87.84%100%88.57%87.80%1003, 1022, 1052, 1076, 1093, 1125–1127, 1142, 1170, 1212, 1227, 1243–1245, 1255, 1260–1262, 1277, 1297, 1428–1430, 1491–1493, 1544–1546, 1570–1573, 1608–1610, 1638–1640, 1644–1646, 1709–1710, 1739–1741, 1748–1750, 1769–1771, 1787–1789, 1794–1796, 1857, 1862–1864, 1884, 1890–1892, 1897–1899, 1932–1937, 1961–1963, 1989, 2052, 2070–2072, 2107–2110, 2140, 2154, 2158–2160, 218–220, 2214–2216, 2228–2230, 2234–2236, 2270, 235, 2353–2355, 236–237, 2375–2377, 2398–2400, 2430–2432, 2448, 2452, 2475–2477, 2489–2491, 2510–2512, 2567–2569, 2576, 265–267, 2766, 2839–2846, 2848–2855, 2857–2867, 2876, 2878–2883, 2886, 2898, 2908, 2911–2913, 2924–2926, 2943–2945, 485, 500–502, 537–539, 547, 561, 577–579, 581–582, 584–586, 599–601, 605, 614–616, 657, 668–670, 676–678, 683–686, 697, 721, 808, 812–814, 897, 921, 933, 965, 982, 986–989
   parser.rs99.29%100%74.19%99.56%37, 43, 55–59, 66
src/generator
   dense.rs86.68%100%90.11%86.35%1004, 1013–1014, 1019, 1025, 1034–1042, 1044–1050, 1052–1060, 1065, 1074, 1086–1089, 1093–1096, 147–148, 150, 164–165, 167, 241–253, 255–261, 263–264, 275–277, 356, 404, 494, 50–55, 57–59, 6, 601–603, 61–63, 65–67, 672, 68–69, 691, 882, 900, 917, 943–950, 969–975, 992–996
   readable.rs96.59%100%95.28%96.71%1110, 1134–1138, 1158–1159, 1189, 1286, 1296, 1305, 1314, 1323, 192–193, 198, 203, 221–222, 402, 46–51, 53, 58, 644–645
   token_based.rs90.81%100%94.02%90.53%10, 1004, 1019, 1024–1028, 1047–1048, 1061–1062, 1083–1084, 1098–1100, 1114–1116, 1125–1127, 113, 1136–1138, 1147–1149, 1298, 130–131, 1368, 1405–1413, 147–148, 1489–1498, 1523–1525, 1527–1529, 1546–1555, 160–161, 1630, 182–183, 203–205, 2075–2076, 2102–2106, 2135–2139, 2146–2150, 2352, 2356, 2369, 245, 297–301, 377–378, 384, 396, 430–431, 453–454, 470–471, 513, 590–591, 600–601, 607–608, 614, 626, 652–653, 686–687, 729, 755–756, 787–788, 797–798, 80, 804–805, 811, 823, 84, 845–849, 890–894, 912–913, 986–987, 996–997
src/nodes/expressions
   function.rs88.50%100%90.48%88.04%130–132, 211, 223, 242–252, 41–44, 90
src/nodes/statements
   function.rs88.10%100%88.57%88%123–125, 174–183, 36–40, 400, 41, 413, 42–43, 433–444
   local_function.rs95.02%100%93.10%95.47%117–121, 267, 280, 306
src/nodes/types
   function.rs64.74%100%73.44%62.50%100–105, 198–206, 277–286, 289–298, 313–322, 334–341, 343–350, 361–368, 52–54, 72–78, 81–87, 99
   generics.rs64.74%100%64.39%64.82%129–131, 137–139, 145–147, 164–174, 176–186, 200–210, 221–227, 229–235, 245–251, 28–30, 335–338, 341–344, 353–356, 382–384, 392–394, 411–416, 418–423, 425–429, 43, 430, 432–437, 44–45, 47–50, 507, 51–52, 522–524, 526, 534, 54, 545–547, 549, 55–58, 589, 59, 590–591, 604–607, 610–613, 622–625, 636–638, 642–644, 648–650, 654–656, 68–70, 704–706, 71–73, 833–837, 840–841, 843–849, 863–864

@jeparlefrancais jeparlefrancais merged commit 6b50410 into main Oct 26, 2023
@jeparlefrancais jeparlefrancais deleted the fix-function-generics branch October 26, 2023 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant