Skip to content

Assume COMPILER_PUBLIC_API #4120

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

Merged
merged 7 commits into from
Dec 15, 2017
Merged

Assume COMPILER_PUBLIC_API #4120

merged 7 commits into from
Dec 15, 2017

Conversation

dsyme
Copy link
Contributor

@dsyme dsyme commented Dec 15, 2017

My understanding is that there doesn't seem any specific value in continuing to require that COMPILER_PUBLIC_API be set - we can just assume that it's always set

  1. It really gets in the way of coding and designing the public surface area of FCS

  2. We want to move to eventually - one day - have the VIsual F# Tools use FSharp.Compiler.Service.dll.

  3. Currently we build FSharp.Compiler.Private.dll where COMPILER_PUBLIC_API is not set. But it turns out this DLL has always had a good number of public types, see below. So we may as well just align now and keep our life simple.

image. There is no harm in these public types as long as the DLL is private in the F# SDK directory (and has Private in the name).

@KevinRansom KevinRansom merged commit 72f0e92 into dotnet:master Dec 15, 2017
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.

2 participants