-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to resolve bindings to built-in functions, types and variables #1101
Conversation
|
... and to silence clippy :)
crates/codegen/language/definition/src/compiler/analysis/mod.rs
Outdated
Show resolved
Hide resolved
crates/solidity/testing/snapshots/bindings_output/modifiers/simple/generated/0.5.0-success.txt
Outdated
Show resolved
Hide resolved
crates/solidity/testing/snapshots/bindings_output/modifiers/simple/generated/0.5.0-success.txt
Outdated
Show resolved
Hide resolved
...s/solidity/testing/snapshots/bindings_output/modifiers/with_args/generated/0.5.0-success.txt
Outdated
Show resolved
Hide resolved
crates/solidity/outputs/cargo/slang_solidity/src/generated/bindings/generated/built_ins.rs
Outdated
Show resolved
Hide resolved
crates/solidity/outputs/cargo/slang_solidity/src/generated/bindings/generated/built_ins.rs
Outdated
Show resolved
Hide resolved
...s/solidity/testing/snapshots/bindings_output/built_ins/functions/generated/0.8.4-success.txt
Show resolved
Hide resolved
… strings Strings for the `PathResolver` represent user paths, which is the only context in which import path resolution makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved the rest of the threads. Thanks!
minor improvement to the codegen backend based on earlier discussions in NomicFoundation#1101
minor improvement to the codegen backend based on earlier changes in NomicFoundation#1101 and NomicFoundation#1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - Fix a bug where breaking versions in built-ins were not considered in other parts of codegen. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
minor improvement to the codegen backend based on earlier changes in NomicFoundation#1101 and NomicFoundation#1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - Fix a bug where breaking versions in built-ins were not considered in other parts of codegen. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
minor improvement to the codegen backend based on earlier changes in NomicFoundation#1101 and NomicFoundation#1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
minor improvement to the codegen backend based on earlier changes in NomicFoundation#1101 and NomicFoundation#1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
minor improvements to the codegen backend based on earlier changes in #1101 and #1120 - build npm packages in parallel - rename `BuiltInLabel` to `PredefinedLabel` to disambiguate from the newly introduced built-ins in bindings. - rename `wasm32-wasi` to `wasm32-wasip1`, as it is already deprecated in nightly.
This PR adds the infrastructure to the Bindings implementation to be able to:
Bindings
object for a specific language versionSo far, this contains just a few built-ins to test the infrastructure and verify that all functions, types and variables can be resolved.