Stephen Chung
|
adbb5f8eb8
|
Use static array for codegen parameters info.
|
2021-03-25 14:02:50 +08:00 |
|
Stephen Chung
|
a82f0fc738
|
Allow non-Dynamic in return_raw.
|
2021-03-22 11:18:09 +08:00 |
|
Stephen Chung
|
b3bcd7bf79
|
Fix codegen test.
|
2021-03-22 10:08:43 +08:00 |
|
Stephen Chung
|
f3b5df09af
|
Fix codegen test results.
|
2021-02-26 20:14:23 +08:00 |
|
Stephen Chung
|
33fa57d95b
|
Refine codegen error positions.
|
2021-02-26 20:00:25 +08:00 |
|
Stephen Chung
|
37fe14ba16
|
Raise error if pure misuse.
|
2021-02-26 18:28:21 +08:00 |
|
Stephen Chung
|
4815de3634
|
Fix codegen test error display.
|
2021-02-09 14:34:51 +08:00 |
|
Stephen Chung
|
67a85a19ae
|
Fix codegen test.
|
2021-01-06 19:30:58 +08:00 |
|
Stephen Chung
|
e059ca009c
|
Fix feature builds.
|
2021-01-06 18:22:45 +08:00 |
|
Stephen Chung
|
863c6b45a5
|
Fine tune codegen for global exports.
|
2020-11-17 14:29:28 +08:00 |
|
Stephen Chung
|
df72d324ba
|
Fix tests.
|
2020-11-17 12:40:12 +08:00 |
|
Stephen Chung
|
a19865d811
|
Add global/internal parameters to rhai_fn.
|
2020-11-17 12:09:56 +08:00 |
|
Stephen Chung
|
cbd7ed2ca7
|
Fix test.
|
2020-10-28 22:30:35 +08:00 |
|
Stephen Chung
|
09f8b13f2d
|
Fix test output.
|
2020-10-20 11:10:46 +08:00 |
|
Stephen Chung
|
643ecc86a3
|
Minor refactor
|
2020-10-20 09:21:41 +08:00 |
|
Stephen Chung
|
a6fa94d946
|
Rhai function names with $ and . no longer fail.
|
2020-10-15 14:36:10 +08:00 |
|
Stephen Chung
|
8abb3c5203
|
Fix ui tests.
|
2020-10-15 14:06:54 +08:00 |
|
Stephen Chung
|
3c9250b0bf
|
Skip wrapping if function returns Dynamicc.
|
2020-10-15 13:28:22 +08:00 |
|
Stephen Chung
|
91886e30d2
|
Fix test output.
|
2020-09-26 12:28:28 +08:00 |
|
Stephen Chung
|
984ef48741
|
Fix test.
|
2020-09-26 12:17:16 +08:00 |
|
Stephen Chung
|
371b7fd00b
|
Fix tests.
|
2020-09-26 00:46:47 +08:00 |
|
Stephen Chung
|
a2551a4650
|
Check rename collisions with special names.
|
2020-09-26 00:30:30 +08:00 |
|
J Henry Waugh
|
381e80179e
|
Re-bless ui tests
|
2020-09-12 22:57:17 -05:00 |
|
J Henry Waugh
|
b1f23ac3ed
|
Enforce signatures on user get/set/index functions
|
2020-09-12 22:48:40 -05:00 |
|
J Henry Waugh
|
0a2f93439e
|
Reorganize get/set/index code into FnSpecialAccess
|
2020-09-12 22:48:34 -05:00 |
|
J Henry Waugh
|
43969a7bee
|
Forbid $ in renames
|
2020-09-12 22:46:45 -05:00 |
|
J Henry Waugh
|
6e701bfe83
|
Catch getter, setter, indexer errors
|
2020-09-12 22:46:45 -05:00 |
|
Stephen Chung
|
b311688fee
|
Fix test.
|
2020-09-11 22:56:19 +08:00 |
|
Stephen Chung
|
36fe02558e
|
Fix tests output.
|
2020-09-11 22:45:15 +08:00 |
|
J Henry Waugh
|
229475caef
|
Add tests fixed by workspace
|
2020-09-08 16:04:04 -05:00 |
|
Stephen Chung
|
bd30edb877
|
Fix test output.
|
2020-09-07 17:08:47 -05:00 |
|
Stephen Chung
|
397acb4fce
|
Add tests for multiple renames.
|
2020-09-07 17:08:41 -05:00 |
|
J Henry Waugh
|
9882b97fca
|
Fix trybuild tests for latest nightly
|
2020-09-06 15:25:01 +08:00 |
|
J Henry Waugh
|
e66adaa60f
|
Revert diagnostic tests which trigger trybuild path bug
|
2020-08-27 23:33:46 -05:00 |
|
J Henry Waugh
|
d8e85df9dc
|
Add return_raw tests for rhai_fn in module
|
2020-08-27 23:13:44 -05:00 |
|
J Henry Waugh
|
fedc4c5338
|
Add exported_fn tests for rhai_fn in module
|
2020-08-27 23:13:44 -05:00 |
|
J Henry Waugh
|
8de095fa36
|
Improve diagnostics for non-clonable return types
|
2020-08-27 23:13:44 -05:00 |
|
J Henry Waugh
|
525ffe6f5a
|
Improve diagnostics for duplicated names
|
2020-08-27 23:13:44 -05:00 |
|
J Henry Waugh
|
5498443517
|
Major refactor of attribute handling
|
2020-08-23 17:53:37 -05:00 |
|
J Henry Waugh
|
3fd3da6bfc
|
Improve diagonstics on return_raw return mismatches
|
2020-08-23 17:24:18 -05:00 |
|
J Henry Waugh
|
65009dd193
|
Block #[cfg] attributes on inner constants
|
2020-08-21 23:26:25 -05:00 |
|
J Henry Waugh
|
55870e7b37
|
Add #[cfg] support in submodules
|
2020-08-21 23:26:25 -05:00 |
|
J Henry Waugh
|
708c0f385e
|
Block #[cfg] attributes on exported or inner functions
|
2020-08-21 23:26:25 -05:00 |
|
J Henry Waugh
|
7962c6dc52
|
codegen: add rhai_mod and submodule support
|
2020-08-20 22:21:41 -05:00 |
|
J Henry Waugh
|
c87da31328
|
codegen: prevent name duplication in Rust or Rhai
|
2020-08-19 23:12:43 -05:00 |
|
J Henry Waugh
|
8efde3c7ce
|
codegen: Rhai names cannot contain dot
|
2020-08-19 22:16:00 -05:00 |
|
J Henry Waugh
|
bcf14025a7
|
Add rhai_fn nested attribute and skip fn parameter
|
2020-08-15 21:51:45 -05:00 |
|
J Henry Waugh
|
07a4541949
|
export_fn: add return_raw attribute
|
2020-08-09 14:19:47 -05:00 |
|
J Henry Waugh
|
7410f40c92
|
export_fn: add "name" parameter
|
2020-08-07 21:19:23 -05:00 |
|
J Henry Waugh
|
3136188801
|
Improve proc macro hygiene
|
2020-08-02 19:27:35 -05:00 |
|