Commit Graph

7034 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
4ec7fff552 Add lookup_variable_in_current_scope to SymbolTable 2024-04-18 18:19:36 -07:00
Pranav Gaddamadugu
19a3620590 Add error 2024-04-18 18:19:36 -07:00
d0cd
95ee4a4133
Merge pull request #27902 from AleoHQ/fix/external-struct
[Fix] External struct equality
2024-04-18 16:08:14 -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
d0cd
57b612b8af
Merge pull request #27904 from AleoHQ/dependabot/cargo/testnet3/serde-1.0.198
Bump serde from 1.0.197 to 1.0.198
2024-04-17 09:35:50 -07:00
dependabot[bot]
2b8676e7cf
Bump serde from 1.0.197 to 1.0.198
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.197 to 1.0.198.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.197...v1.0.198)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 10:57:52 +00:00
evan-schott
313add0493 regen parser exp 2024-04-16 16:06:33 -07:00
evan-schott
e7fa88cfe4 new double nested external records test 2024-04-16 15:16:53 -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
b95c5d544f proper formatting of external records (plus test) 2024-04-16 13:59:13 -07:00
d0cd
13b29db4db
Merge pull request #27794 from AleoHQ/feat/futures
Feat/futures
2024-04-16 13:16:40 -07:00
evan-schott
32aedaba45 Remove RUST_BACKTRACE from CI 2024-04-16 11:55:10 -07:00
evan-schott
0db786c3e1 Remove .record 2024-04-16 11:53:19 -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
e9c996f774 Refactor: all structs parsed as having None program 2024-04-15 18:32:12 -07:00
evan-schott
5f32d736ca Refactor: remove external 2024-04-15 18:31:10 -07:00
Pranav Gaddamadugu
d8216a4d6e Regen expectations 2024-04-13 10:49:32 -07:00
evan-schott
004484b58c refactor ntzseals 2024-04-11 14:19:08 -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
17c35d11af Refactor all tests to get rid of finalize syntax 2024-04-10 15:56:30 -07:00
evan-schott
915ced57bd Switch explicit future typing syntax to match rust 2024-04-10 11:48:41 -07:00
d0cd
80568741ad
Merge pull request #27898 from AleoHQ/dependabot/cargo/testnet3/anyhow-1.0.82
Bump anyhow from 1.0.81 to 1.0.82
2024-04-10 10:33:13 -05:00
dependabot[bot]
098700f374
Bump anyhow from 1.0.81 to 1.0.82
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 10:31:55 +00: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
00ce6eb045 explicit future tests 2024-04-09 11:38:57 -07:00
evan-schott
bf95c4966a parsing ambiguous explicit future types. Ex: Future<u32, Future<u32>> 2024-04-09 11:38:41 -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
d0cd
b7b58a1030
Merge pull request #27896 from AleoHQ/dependabot/cargo/testnet3/reqwest-0.12.3
Bump reqwest from 0.12.2 to 0.12.3
2024-04-09 13:00:07 -05:00
evan-schott
bf9484c975
Update errors/src/errors/type_checker/type_checker_error.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:47:06 -07:00
evan-schott
01788ac332
Update errors/src/errors/type_checker/type_checker_error.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:46:49 -07:00
evan-schott
84abefe764
Update errors/src/errors/type_checker/type_checker_error.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:46:39 -07:00
evan-schott
a09a6fae85
Update compiler/span/src/symbol.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:46:15 -07:00
evan-schott
62849540fe
Update errors/src/errors/type_checker/type_checker_error.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:45:34 -07:00
evan-schott
6ae10e5889
Update errors/src/errors/type_checker/type_checker_error.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:45:04 -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
b1c56c1fa1
Update errors/src/errors/type_checker/type_checker_error.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:51 -07:00
evan-schott
59e7c6c35c
Update compiler/span/src/symbol.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:35 -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
0718d4dc33
Update errors/src/errors/type_checker/type_checker_warning.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:33:21 -07:00
evan-schott
b422657944 Forbit explicit inclusion of async function return type 2024-04-08 11:27:42 -07:00
evan-schott
5790124de4 test parity with snarkVM 2024-04-08 11:18:45 -07:00