Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

F# / C# interop fails when upgrading to the RC2. #14147

Closed
KevinRansom opened this issue Oct 19, 2022 · 1 comment
Closed

F# / C# interop fails when upgrading to the RC2. #14147

KevinRansom opened this issue Oct 19, 2022 · 1 comment

Comments

@KevinRansom
Copy link
Member

KevinRansom commented Oct 19, 2022

Reported here: dotnet/core#7865 (comment)

To reproduce, create a solution with two – F# Library and C# Console projects. Reference the F# project from the C# one. Add at least two types in the Library.fs file (two single case discriminated unions for simplicity…) and access THE FIRST ONE from the C# project. It will throw: ” Program.cs(1, 24): [CS0117] ‘Test.A’ does not contain a definition for ‘A'”

Repro: https://github.com/gdar91/Rc2FsCs

@vzarytovskii
Copy link
Member

Duplicate of #14088

@vzarytovskii vzarytovskii marked this as a duplicate of #14088 Oct 19, 2022
Repository owner moved this from Not Planned to Done in F# Compiler and Tooling Oct 19, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants