-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search std for module name when using with x as module. (#7836)
- Allows queries such as `with http as net::http select http::Response`. The aliased module `net::http` will resolve to `std::net::http`. - Apply module aliases to function names during normalization, even if no function was found. - This fixes an issue where given the following modules: - `module A { function foo() -> int64 using (1) }` - `module B {}` - `module C { alias query := (with A as B select A::foo()}` - `C::query` would normalize to `select A::foo()` with the expectation that `A::Foo` does not exist.
- Loading branch information
Showing
5 changed files
with
1,565 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.