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

Change throw/catch to conditional. fixes #456 #457

Merged
merged 2 commits into from
Nov 5, 2015

Conversation

nosami
Copy link
Member

@nosami nosami commented Nov 4, 2015

No description provided.

#if FX_NO_NATIVE_MEMORY_MAPPED_FILES
#else
try
if not IL.runningOnMono then
Copy link
Contributor

Choose a reason for hiding this comment

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

runningOnMono isn't what we want here, because we may be running with Mono on Windows.

I think just check for Windows.

@nosami
Copy link
Member Author

nosami commented Nov 5, 2015

Not sure about the Windows check. I assume it's right - I copied it from https://github.com/fsharp/FSharp.Compiler.Service/blob/conditional-memory-mapped-files/samples/FscExe/FscMain.fs#L45

dsyme added a commit that referenced this pull request Nov 5, 2015
@dsyme dsyme merged commit 3291102 into fsharp:master Nov 5, 2015
@dsyme
Copy link
Contributor

dsyme commented Nov 5, 2015

Great thanks

@nosami nosami deleted the conditional-memory-mapped-files branch November 5, 2015 14:40
matthid pushed a commit to matthid/FSharp.Compiler.Service that referenced this pull request Nov 8, 2015
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