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

Allow merging of Namespace and Module in TrieMapping #16070

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Oct 3, 2023

Fixes #15985.

@safesparrow would you mind taking a look at this change?
The problem was in constructing the Trie. We didn't anticipate that a name could be used for both a module and a namespace. My fix is to treat the module as it exposes a type inside the namespace.
I think this is acceptable but would like to hear your opinion here.

@nojaf nojaf requested a review from a team as a code owner October 3, 2023 13:22
@vzarytovskii
Copy link
Member

@dotnet/fsharp-team-msft one more review please, @0101 perhaps?

@nojaf do you want to wait for review from Janusz before merge?

Copy link
Contributor

@0101 0101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@nojaf
Copy link
Contributor Author

nojaf commented Oct 5, 2023

I spoke with Janusz earlier this week, and he's planning to review it within this week. If you haven't received any updates by next week, I suggest merging it as-is. We can handle any feedback at a later stage.

Copy link
Contributor

@safesparrow safesparrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the issue, so happy for it to be merged. Thanks @nojaf

Longer term we might want to refactor the model to more accurately represent the language constructs, but that's not a blocker in any way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Graph based checking error with CompilationRepresentationFlags.ModuleSuffix
4 participants