Commit Graph

724 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
d2b1d055ce Update tests and fix 2024-05-13 11:09:15 -07:00
Pranav Gaddamadugu
c378e090d7 Merge branch 'mainnet' into update/from-testnet3 2024-05-13 10:10:31 -07:00
Pranav Gaddamadugu
3b3a3bff02 Compatibility fixes 2024-04-30 13:51:09 -04:00
Pranav Gaddamadugu
d27ba5fa31 Merge branch 'testnet3' into update/from-testnet3 2024-04-30 13:50:06 -04:00
evan-schott
07a6c84100 fixes 2024-04-29 14:11:42 -07:00
evan-schott
1e0afc20c1 Passing network.id test 2024-04-23 14:19:09 -07:00
evan-schott
5a060a4254 support for network.id 2024-04-22 18:34:31 -07:00
evan-schott
dda608f484 Add support for program address literals (ex: hello.aleo) & self.address 2024-04-22 18:18:48 -07:00
evan-schott
f93d77b9de Fix bug where return self.caller caused panic 2024-04-22 13:23:55 -07:00
Pranav Gaddamadugu
efd12d5b09 Update codegen to include depth on positions 2024-04-18 20:36:38 -07:00
Pranav Gaddamadugu
0eae4f07a1 Update tests; regen expectations 2024-04-18 20:31:00 -07:00
Pranav Gaddamadugu
eb18118b3f Update codegen, fix compiler 2024-04-18 18:21:33 -07:00
Pranav Gaddamadugu
0b07ea6a35 Allow ConditionalStatements in finalize in Destructuring and Flattening 2024-04-18 18:21:02 -07:00
Pranav Gaddamadugu
b419dfdce4 Clippy 2024-04-18 18:20:14 -07:00
Pranav Gaddamadugu
781d7a816a Fix and add test 2024-04-18 18:20:14 -07:00
Pranav Gaddamadugu
c4ceeb0369 Add check in TYC 2024-04-18 18:19:36 -07:00
Pranav Gaddamadugu
4ec7fff552 Add lookup_variable_in_current_scope to SymbolTable 2024-04-18 18:19:36 -07:00
evan-schott
88b57bec35 Regen + clippy 2024-04-18 14:16:55 -07:00
evan-schott
79e05c7131 fixes pt 2 2024-04-18 10:24:19 -07:00
evan-schott
30cbed0e98 fixes 2024-04-17 17:25:45 -07:00
evan-schott
b95c5d544f proper formatting of external records (plus test) 2024-04-16 13:59:13 -07:00
evan-schott
27ef7e5cd0 Add tests 2024-04-15 18:38:03 -07:00
evan-schott
c296f61f2f Refactor ST to account for fact that local records can have program None 2024-04-15 18:35:30 -07:00
evan-schott
0a4e5b3642 Prevent duplicate definitions of external structs from being written 2024-04-15 18:33:49 -07:00
evan-schott
e6ba5069dc Fix suggestions 2024-04-10 16:11:51 -07:00
evan-schott
17c35d11af Refactor all tests to get rid of finalize syntax 2024-04-10 15:56:30 -07:00
evan-schott
ee9cbd912d write examples using new async syntax 2024-04-09 13:53:26 -07:00
evan-schott
e47ddb458e clippy 2024-04-09 11:52:19 -07:00
evan-schott
1ac7f7f67c fmt 2024-04-09 11:43:03 -07:00
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