Skip to content

Upgrade to full-moon 2.0.0 - #312

Merged
jeparlefrancais merged 8 commits into
mainfrom
upgrade-full-moon-2
Sep 26, 2025
Merged

jeparlefrancais merged 8 commits into
mainfrom
upgrade-full-moon-2

Conversation

@jeparlefrancais

@jeparlefrancais jeparlefrancais commented Sep 26, 2025 •

Copy link
Copy Markdown
Contributor

Closes #265 Closes #311

From #311, needed to add an entry to the changelog, thanks to @kiciahook!

Upgrade full-moon to 2.0.0. This fixes parsing errors when reading function attributes and type functions.

Note that for now, darklua will strip them automatically. In a future update, the appropriate nodes will be added to the darklua AST so that it can process them properly.

  • add entry to the changelog

@github-actions

Copy link
Copy Markdown

Coverage after merging upgrade-full-moon-2 into main will be

87.13%

Coverage Report for Changed Files
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ast_converter.rs88.36%100%90.83%88.24%1013, 1037, 1057–1059, 1080, 1118, 1122–1125, 1158, 1178, 1193, 1218, 1256, 1275–1277, 1322, 1356, 1371, 1387–1389, 1399, 1404–1406, 1421–1422, 1441, 1572–1574, 1635–1637, 1688–1690, 1714–1715, 1752–1754, 1782–1784, 1788–1790, 1853–1855, 1880–1882, 1889–1891, 1909–1911, 1935–1937, 2007, 2012–2014, 2034, 2040–2042, 2047–2049, 2074–2076, 2096, 2153–2155, 2179, 218, 2180–2182, 219–220, 2212–2214, 2220–2222, 2225–2227, 2289–2291, 2303–2305, 2309–2311, 2325–2326, 2332–2333, 2347–2348, 235–237, 2376, 2459–2461, 2489–2491, 2512–2514, 2544–2547, 2562–2563, 2566, 2590–2592, 2604–2606, 2626–2628, 265–267, 2683–2685, 2717, 3056–3063, 3065–3066, 3068–3070, 3074–3085, 3094, 3096–3099, 3103–3106, 3111, 3137–3139, 3150–3152, 3170–3172, 488–490, 494–496, 543, 604, 619–621, 656–659, 666, 680, 695–697, 701–703, 718–721, 724, 733–735, 776–777, 787–789, 795–797, 840, 927, 931–933, 954
src/generator
   mod.rs98.65%100%100%98.53%389, 405, 409
src/nodes
   arguments.rs89.58%100%93.62%88.85%100–106, 108–110, 143–144, 192–193, 211–213, 216, 245–249, 251, 334–335, 341, 99
   function_call.rs91.60%100%90.91%91.75%131–133, 155–157, 172–173
src/rules
   rule_property.rs90.91%100%96.15%89.84%100, 110–111, 116, 160–165, 167–170, 172–175, 179–180, 41, 49, 60, 76, 94

@jeparlefrancais
jeparlefrancais merged commit 221ce99 into main Sep 26, 2025
@jeparlefrancais
jeparlefrancais deleted the upgrade-full-moon-2 branch September 26, 2025 15:08
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.

Error when trying to parse inline attributes like @native

2 participants