-
Notifications
You must be signed in to change notification settings - Fork 375
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
unexpected type declaration type *gnolang.TypeType
when using type alias from a remote package.
#2479
Labels
🐞 bug
Something isn't working
Comments
7 tasks
deelawn
added a commit
that referenced
this issue
Jul 16, 2024
Closes #2479. When defining a type alias to a type in another package, the existing type is specified with a selector expression. This PR ensures that the underlying type being aliased is properly extracted. <details><summary>Contributors' checklist...</summary> - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [x] Added references to related issues and PRs - [x] Provided any useful hints for running manual tests - [x] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md). </details> Co-authored-by: Manfred Touron <94029+moul@users.noreply.github.com>
github-project-automation
bot
moved this from In Progress
to Done
in 🧙♂️gno.land core team
Jul 16, 2024
gfanton
pushed a commit
to gfanton/gno
that referenced
this issue
Jul 23, 2024
Closes gnolang#2479. When defining a type alias to a type in another package, the existing type is specified with a selector expression. This PR ensures that the underlying type being aliased is properly extracted. <details><summary>Contributors' checklist...</summary> - [x] Added new tests, or not needed, or not feasible - [x] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [x] Updated the official documentation or not needed - [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [x] Added references to related issues and PRs - [x] Provided any useful hints for running manual tests - [x] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md). </details> Co-authored-by: Manfred Touron <94029+moul@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example available here (uncomment): #928 (comment)
The text was updated successfully, but these errors were encountered: