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

fix: some fixes! #2066

Merged
merged 1 commit into from
Jul 12, 2024
Merged

fix: some fixes! #2066

merged 1 commit into from
Jul 12, 2024

Conversation

worstell
Copy link
Contributor

@worstell worstell commented Jul 12, 2024

  • fixes a code gen issue for types.ftl.go
  • validate global uniquness on Decl names (required because ref->Decl resolution breaks if two Decls have the same name, even of different types)
  • fixes logic that determines if path is local because pass.Pkg may not be root module package

@worstell worstell requested a review from alecthomas as a code owner July 12, 2024 17:30
@worstell worstell requested review from a team and matt2e and removed request for a team July 12, 2024 17:30
@ftl-robot ftl-robot mentioned this pull request Jul 12, 2024
@worstell worstell force-pushed the worstell/20240712-remove-verb-name-error branch 2 times, most recently from 05f6d3b to 87fcec9 Compare July 12, 2024 19:04
@worstell worstell changed the title feat: remove verb naming error fix: some fixes :D Jul 12, 2024
@worstell worstell changed the title fix: some fixes :D fix: some fixes! Jul 12, 2024
@worstell worstell force-pushed the worstell/20240712-remove-verb-name-error branch 5 times, most recently from d4d6a89 to 7fc4ea9 Compare July 12, 2024 20:38
@worstell worstell enabled auto-merge (squash) July 12, 2024 20:38
@worstell worstell disabled auto-merge July 12, 2024 20:38
- fixes a code gen issue for types.ftl.go
- validate global uniquness on Decl names (required because ref->Decl resolution breaks if two Decls have the same name, even of different types)
- fixes logic that determines if path is local because pass.Pkg may not be root module package
@worstell worstell force-pushed the worstell/20240712-remove-verb-name-error branch from 7fc4ea9 to 043fcdc Compare July 12, 2024 20:50
@worstell worstell merged commit a4e6674 into main Jul 12, 2024
54 checks passed
@worstell worstell deleted the worstell/20240712-remove-verb-name-error branch July 12, 2024 20:57
@matt2e matt2e added the approved Marks an already closed PR as approved label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Marks an already closed PR as approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants