Commit daa6c6e
authored
Update to new full-moon version v1.1.1 (#854)
* Update to new full-moon version
* simplify err message
* fix token
* Support Lua version customisation
* compile full moon with release optimisations
* Update to Boxed anonymous function
* Add proper handling for shebang
* Set default lua version to all features, to make it easier to get started
Means its technically not a breaking change
* Handle left associativity of type unions / intersections
* Update callback hanging snapshot
This formatting is actually correct - we don't have type pack unions,
so we should be hanging at the union type after the return
* Support LuaJIT as a separate syntax option
* Rename config option from `lua_version` to `syntax`
* Fix tests and re-enable large example in debug mode
* Use released full moon v1.1.0
* Add command line option to configure syntax and update changelog
* Bump full-moon to 1.1.1
* Fix compilation for luau
* Handle access modifier in type array and tables
* Handle new type info and union set up
Somewhat ugly code, designed to ensure there is snapshot diff.
But, the code can be made nicer in #910
* Cleanup
* Fix verify_ast for luajit
* Fix wasm build on CI
* Update changelog about luajit1 parent cfc5d33 commit daa6c6e
File tree
23 files changed
+1018
-812
lines changed- .github/workflows
- src
- cli
- formatters
- tests
- snapshots
- wasm
23 files changed
+1018
-812
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 24 | | |
35 | 25 | | |
36 | 26 | | |
| |||
52 | 42 | | |
53 | 43 | | |
54 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
62 | | - | |
| 59 | + | |
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| |||
0 commit comments