Commit Graph

695 Commits

Author SHA1 Message Date
evan-schott
5903635fa3 enable explicit typing for futures 2024-04-09 11:36:55 -07:00
evan-schott
a2fce7a968 misc revisions 2024-04-09 11:34:16 -07:00
evan-schott
8905f73670
Update compiler/passes/src/symbol_table_creation/creator.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:44:22 -07:00
evan-schott
295e304bcb
Update compiler/passes/src/flattening/flatten_program.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:43:13 -07:00
evan-schott
1c6b4403c7
Update compiler/passes/src/destructuring/destructure_statement.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:42:55 -07:00
evan-schott
b422657944 Forbit explicit inclusion of async function return type 2024-04-08 11:27:42 -07:00
evan-schott
14f08b4917 Fixed DCE bug 2024-04-08 11:17:33 -07:00
evan-schott
228a0ae9b7 Transform method calls into associated functions 2024-04-08 11:17:11 -07:00
evan-schott
0ed5cd6924 Retrieve external future locations during disassembling instead of in TYC 2024-04-08 11:15:48 -07:00
evan-schott
9889aa01c5 Refactor Variant to account for asynchronous function variants 2024-04-03 17:00:03 -07:00
evan-schott
e7ac5e0bf1 running 2024-04-03 15:59:57 -07:00
evan-schott
abd5235091 merge 2024-04-03 14:37:05 -07:00
Pranav Gaddamadugu
2d606f1930 Allow external contains 2024-04-01 06:46:45 -07:00
Pranav Gaddamadugu
4fe984ce7c Update Testnet3 to Mainnet 2024-04-01 06:43:54 -07:00
Pranav Gaddamadugu
2c391055af chore(leo): bump version for new release 2024-03-29 17:53:25 -07:00
evan-schott
36aa41fdc2 Regen expectations 2024-03-29 14:18:12 -07:00
evan-schott
94b5d927d7 Refactor LocatorExpression 2024-03-29 14:17:29 -07:00
evan-schott
305e00b473 style 2024-03-29 14:17:28 -07:00
evan-schott
5159f6ec20 fix shadowing bug 2024-03-29 14:17:28 -07:00
evan-schott
ff4edada7e clippy 2024-03-29 14:17:28 -07:00
evan-schott
e78b292552 Add external mappings to ST 2024-03-29 14:17:28 -07:00
evan-schott
2a152c2517 Error for trying to modify external mappings 2024-03-29 14:17:28 -07:00
evan-schott
75f3647879 Passing ST serialization test 2024-03-29 14:17:28 -07:00
evan-schott
7a741dbde4 Change symbol table usages (next time will just make change in ST so don't have to change everything) 2024-03-29 14:17:28 -07:00
evan-schott
997b9051fd clippy 2024-03-08 16:42:55 -08:00
evan-schott
c01c61c5e4 Fix Bug: Displaying futures in wrong order 2024-03-08 16:42:10 -08:00
evan-schott
143e9cdc23 formatting of futures in CG 2024-03-08 14:35:26 -08:00
evan-schott
dd6d40edf9 Convert f.1 from tuple access to member access to prepare for CG 2024-03-08 14:32:46 -08:00
evan-schott
8f6a94d250 Nested async function/transition logic 2024-03-08 14:31:51 -08:00
evan-schott
b29978cda9 Add fully typed futures to ST in finalize scope 2024-03-08 14:18:53 -08:00
evan-schott
e6e8811f5c Support nested async functions in return. return finalize_main(1u32, external.aleo/foo().1); 2024-03-08 14:12:58 -08:00
evan-schott
69fd6edab6 Only track finalize stub inputs 2024-03-08 11:58:44 -08:00
evan-schott
ccc7bf0eec Fix bug: Logic error in analyzing unawaited paths through nested conditionals 2024-03-08 11:56:29 -08:00
evan-schott
dea6443f67 Fix bug: If no futures present don't initialize await checker 2024-03-08 11:54:38 -08:00
evan-schott
2b2bc91d53 Fix bug: Never use Identifier as key to Indexmap because spans will change 2024-03-08 11:52:43 -08:00
evan-schott
7d5b1ed8a8 Change syntax so that finalize functions signatures no longer must explicitly declare output is future 2024-03-05 10:39:26 -08:00
evan-schott
35894d79fe Remove old futures logic from CG 2024-03-04 17:13:22 -08:00
evan-schott
c482b81d95 TYC small fixes 2024-03-04 17:08:43 -08:00
evan-schott
9f20aa867f fix borrowing error 2024-03-04 17:05:02 -08:00
evan-schott
31d3373c8d supporting changes 2024-03-04 17:03:41 -08:00
evan-schott
8e67cfbf2a AST refactor 2024-03-04 16:59:28 -08:00
evan-schott
c516db61f0 Finished TYC pass 2024-02-28 19:54:58 -08:00
evan-schott
29f1a97ee3 Update helpers 2024-02-28 19:42:21 -08:00
evan-schott
084451c1c8 Refactor to simplify borrowing 2024-02-27 14:11:28 -08:00
evan-schott
8320adccdf Type inference for external finalize inputs 2024-02-27 14:09:00 -08:00
evan-schott
b7c1f472d6 Track all possible paths through nested conditionals for unawaited and duplicate awaited futures 2024-02-26 18:34:49 -08:00
evan-schott
7dba5affc9 Errors for improper awaiting of futures (static and dynamic) 2024-02-26 15:19:20 -08:00
evan-schott
c886bafa43 Refactor to use structs instead of long lists of flags 2024-02-26 15:07:18 -08:00
evan-schott
5a499937e6 Function signature checking w/ nested struct/future 2024-02-19 18:28:33 -08:00
evan-schott
8feb612ce7 TYC future argument retrieval 2024-02-19 18:25:13 -08:00