Skip to content
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

checker: fix typeof of typeof.name #19323

Merged
merged 1 commit into from
Sep 10, 2023
Merged

Conversation

felipensp
Copy link
Member

@felipensp felipensp commented Sep 10, 2023

Fix #19168

🤖 Generated by Copilot at e99fe26

This pull request fixes a compiler bug with selector expressions and adds a test case for the typeof builtin function. It modifies vlib/v/gen/c/comptime.v and vlib/v/tests/typeof_name_test.v.

🤖 Generated by Copilot at e99fe26

  • Fix compiler crash for invalid selector expression type (link)
  • Add test case for typeof builtin function (link)

@felipensp felipensp marked this pull request as ready for review September 10, 2023 17:12
@medvednikov medvednikov merged commit 81b30ca into vlang:master Sep 10, 2023
48 checks passed
Wertzui123 pushed a commit to Wertzui123/v that referenced this pull request Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nested calls of typeof is panicking the compiler
4 participants