Commit Graph

445 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
b87a79d991 Introduce StaticAnalyzer pass; move future await checking to this pass 2024-11-13 16:35:55 -08:00
Michael Benfield
4afc757216 Update MSRV in all the other crates to match. 2024-11-04 13:24:00 -08:00
Michael Benfield
a55dfe29e8 Clean up dependencies.
Remove unused deps. Use workspace deps where appropriate.
2024-10-10 12:56:17 -07:00
Michael Benfield
5a0f39cd9f hex, octal, and binary literals for integers.
Note that they can't be used on the command line since SnarkVM
does the parsing there.
2024-10-10 08:26:58 -07:00
Michael Benfield
2bbff6d0a8 Display Type::Boolean as bool, not boolean.
Leo calls this `bool`, so it's potentially confusing when error
messages say `boolean`.
2024-10-04 15:43:52 -07:00
Pranav Gaddamadugu
174dae47db Update rustfmt.toml to latest nightly and apply changes 2024-10-01 18:19:39 -07:00
Pranav Gaddamadugu
d746c427cc chore(leo): bump version for new release 2024-09-19 08:00:35 +08:00
Pranav Gaddamadugu
82eba55f8d chore(leo): bump version for new release 2024-09-04 15:18:01 -07:00
Pranav Gaddamadugu
7dfecd41b1 Update LicenseHeader and Cargo metadata 2024-09-04 11:48:02 -07:00
evan-schott
a356ff8a34 Fix 2024-08-09 19:33:17 -07:00
Pranav Gaddamadugu
acb7b61feb chore(leo): bump version for new release 2024-08-07 01:10:09 -04:00
Pranav Gaddamadugu
140a04072d chore(leo): bump version for new release 2024-07-08 13:53:16 -07:00
evan-schott
af45146282 fix 2024-06-12 10:58:24 -07:00
evan-schott
06e47983f8 fix 2024-05-20 13:42:00 -07:00
dependabot[bot]
96dd83b586
Bump itertools from 0.12.1 to 0.13.0
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.12.1 to 0.13.0.
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.1...v0.13.0)

---
updated-dependencies:
- dependency-name: itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-17 10:21:43 +00:00
Pranav Gaddamadugu
11b5502eac Merge branch 'testnet3' into update/from-testnet3 2024-05-14 13:39:40 -07:00
Pranav Gaddamadugu
65afb54a5b chore(leo): bump version for new release 2024-05-13 13:36:45 -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
dda608f484 Add support for program address literals (ex: hello.aleo) & self.address 2024-04-22 18:18:48 -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
1f6e39aaec Bug fix: double nested imported structs reporting wrong program of origin 2024-04-16 14:57:55 -07:00
evan-schott
5f32d736ca Refactor: remove external 2024-04-15 18:31:10 -07:00
evan-schott
71c39b5c31 update expectations 2024-04-11 12:02:09 -07:00
evan-schott
e6ba5069dc Fix suggestions 2024-04-10 16:11:51 -07:00
evan-schott
915ced57bd Switch explicit future typing syntax to match rust 2024-04-10 11:48:41 -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
0ed5cd6924 Retrieve external future locations during disassembling instead of in TYC 2024-04-08 11:15:48 -07:00
evan-schott
e99d7df699 Refactor FutureType to introduce location field to store which program/function the future comes from 2024-04-08 11:09:57 -07:00
evan-schott
9889aa01c5 Refactor Variant to account for asynchronous function variants 2024-04-03 17:00:03 -07:00
evan-schott
abd5235091 merge 2024-04-03 14:37:05 -07:00
Pranav Gaddamadugu
26dba19d88 Clippy 2024-04-02 10:19:46 -07:00
Pranav Gaddamadugu
2c391055af chore(leo): bump version for new release 2024-03-29 17:53:25 -07:00
evan-schott
1434e0a610 style 2024-03-29 14:17:29 -07:00
evan-schott
94b5d927d7 Refactor LocatorExpression 2024-03-29 14:17:29 -07:00
evan-schott
ff4edada7e clippy 2024-03-29 14:17:28 -07:00
evan-schott
bc7e6c3fa2 Update AST 2024-03-29 14:17:28 -07:00
evan-schott
997b9051fd clippy 2024-03-08 16:42:55 -08:00
evan-schott
5efb498075 Fix bug: Disassemble finalize functions to finalize/{name} to avoid shadowing errors 2024-03-08 11:51:33 -08:00
evan-schott
5911bb33a0 Fix bug: Always disassemble Future output types 2024-03-08 11:50:44 -08:00
evan-schott
2c809e9151 Fix bug: Future::await(f) should always take 1 argument 2024-03-08 11:47:31 -08:00
evan-schott
8e67cfbf2a AST refactor 2024-03-04 16:59:28 -08:00
evan-schott
a3e3065bd3 Support parsing awaiting of futures both as f.await() and Future::await(f) 2024-02-28 19:37:07 -08:00
evan-schott
ef069da30f Create new AST for method calls on struct instances 2024-02-28 19:35:58 -08:00
evan-schott
8320adccdf Type inference for external finalize inputs 2024-02-27 14:09:00 -08:00