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 failing F# build and #1403 #1404

Merged
merged 10 commits into from
Mar 17, 2018
Merged

Conversation

A-Manning
Copy link
Contributor

No description provided.

mtzguido added a commit that referenced this pull request Mar 17, 2018
mtzguido added a commit that referenced this pull request Mar 17, 2018
@mtzguido
Copy link
Member

Thanks a lot for this! I made some changes to have a different error from non-linear patterns, and now the example in #1403 fails like this:

examples/bug-reports/bug1404.fst(9,6-10,17): (Error 297) Patterns in this match are incoherent, variable y is bound in some but not all patterns.

I'll merge this after running regression tests. Thanks again.

@mtzguido mtzguido merged commit 6c1fabb into FStarLang:master Mar 17, 2018
<Reference Include="FSharp.Core, Version=$(TargetFSharpCoreVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<HintPath>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\$(TargetFSharpCoreVersion)\FSharp.Core.dll</HintPath>
<Reference Include="FSharp.Core">
<HintPath>..\VS\packages\FSharp.Core.4.2.3/lib/net45/FSharp.Core.dll</HintPath>
Copy link
Collaborator

Choose a reason for hiding this comment

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

@A-Manning @mtzguido:

With @aseemr, we're looking at this change. It breaks the F# build for us on VS 2015.

Can you explain the rationale behind this change?

Thanks!
-Nik

Copy link
Collaborator

Choose a reason for hiding this comment

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

@tahina-pro had looked a long while ago into making F* build with VS2017 and VS2015 at the same time ... I seem to remember he got familiar with these assemblies details

Copy link
Member

Choose a reason for hiding this comment

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

As far as I remember, changes I made on *.fsproj files in commit 4cc0e8b work in both VS2015 and VS2017.

Not sure what has changed since.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When trying to build with F# 4.1 using msbuild (also reproduced with rider 2017.3) I was getting errors resulting from FSharp.Core being resolved to 4.4.0.0, as in #1358.

I don't have VS, so I'm not able to test this in order to make it work with VS2015, VS2017, and F# 4.1. Perhaps these changes should be reverted.

Copy link
Member

Choose a reason for hiding this comment

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

Ouch, sorry to have merged this without checking the F# build... I'm trying to get my F# setup working again so I can test this. There's some more info in #1395.

nikswamy added a commit that referenced this pull request Mar 19, 2018
@catalin-hritcu
Copy link
Member

@nikswamy We are all migrating to VS2017, so can the reverted .fsproj file changes be reconsidered now?

@nikswamy
Copy link
Collaborator

yes

@nikswamy
Copy link
Collaborator

Note, I believe there was a related change to app.config by @aseemr that should probably also be reverted.

e0c4840#diff-2a0a2648fbce9a0e40f9bbda910c9d6b

@catalin-hritcu
Copy link
Member

catalin-hritcu commented Apr 18, 2018

Okay, I'll try to reapply/re-revert these changes to my catalin_fsharp-4.1-upgrade branch and see if that helps with Windows CI. [Edit: it did!]

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.

6 participants