Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
d380a0e
substitute 'nameof(<long ident>)` with `Conts(<long ident as string l…
Jan 18, 2017
223d313
Implementing basic nameof and typenameof operators
Jan 18, 2017
529cc6f
Apply feedback
Jan 18, 2017
f3c4ba5
Revert "Apply feedback"
Jan 18, 2017
8fd0392
Revert "Implementing basic nameof and typenameof operators"
Jan 18, 2017
77c8f77
revert nameof and typenameof functions to FSharp.Core
vasily-kirichenko Jan 18, 2017
3070c1d
wip
vasily-kirichenko Jan 18, 2017
b3e712d
it works
vasily-kirichenko Jan 18, 2017
6c6e3b5
Merge remote-tracking branch 'origin/master' into nameof-operator
Jan 19, 2017
7832be5
refactoring
Jan 19, 2017
6581790
make it work on simple `Ident`s
Jan 19, 2017
0f5165f
use proper error message
Jan 19, 2017
22898ad
restrict using `nameof` operator as first class
Jan 19, 2017
e5033af
remove `typenameof` bits
Jan 19, 2017
1ad0a0e
nameof(typeof<_>) works
Jan 19, 2017
c9a64b2
Merge branch 'master' into nameof-operator
vasily-kirichenko Jan 28, 2017
5657759
fix QA tests
vasily-kirichenko Jan 28, 2017
b26994c
Merge branch 'master' into nameof-operator
vasily-kirichenko Feb 3, 2017
a732de0
remove nameof function form FSharp.Core
vasily-kirichenko Feb 3, 2017
b29fe57
Merge remote-tracking branch 'origin/master' into nameof-operator
vasily-kirichenko Feb 4, 2017
b7763a6
Revert "remove nameof function form FSharp.Core"
vasily-kirichenko Feb 4, 2017
906a934
Try to resolve the `nameof` operator argument to prevent passing anyt…
vasily-kirichenko Feb 4, 2017
a770e3c
nameof works on generic types
vasily-kirichenko Feb 4, 2017
067955a
fix error range in case of wrong `nameof`operator argument
vasily-kirichenko Feb 4, 2017
bfcc390
notify name resolution sink about nameof operator argument Item in or…
vasily-kirichenko Feb 5, 2017
6a92a80
fully type check `nameof` argument
vasily-kirichenko Feb 5, 2017
bcec600
try to type check arg again
vasily-kirichenko Feb 5, 2017
f64b3c5
Merge remote-tracking branch 'origin/master' into nameof-operator
Feb 6, 2017
0c1cad2
type check `nameof` argument more carefully
vasily-kirichenko Feb 6, 2017
15bf862
Merge remote-tracking branch 'vasily-kirichenko/nameof-operator' into…
vasily-kirichenko Feb 6, 2017
5b72f32
Merge remote-tracking branch 'origin/master' into nameof-operator
vasily-kirichenko Feb 15, 2017
ceb7731
Merge branch 'master' into nameof-operator
vasily-kirichenko Mar 1, 2017
588de2e
factor tcExpr to top level function
vasily-kirichenko Mar 1, 2017
f2ae00f
Merge remote-tracking branch 'origin/master' into nameof-operator
vasily-kirichenko Mar 8, 2017
d1b1389
add diagnostics
dsyme Mar 10, 2019
0f89711
add diagnostics
dsyme Mar 10, 2019
7da6aff
diagnostics
dsyme Mar 11, 2019
871489b
diagnostics
dsyme Mar 11, 2019
27d00a0
diagnostics
dsyme Mar 11, 2019
7d98d16
add diagnostics and possible fix for tp smoke tests
dsyme Mar 11, 2019
cc6e992
fix build
dsyme Mar 11, 2019
e13b385
fix build
dsyme Mar 11, 2019
ce0961e
more diagnostics
dsyme Mar 11, 2019
2bb15ce
integrate master
dsyme Mar 11, 2019
8b0d33b
merge with master
dsyme Mar 12, 2019
b1bf49d
update xlf
dsyme Mar 12, 2019
ad61659
fix build
dsyme Mar 12, 2019
90b46fb
revamp implementation for types and modules
dsyme Mar 12, 2019
21b4705
update tests
dsyme Mar 12, 2019
51e2012
try to fix flaky test
dsyme Mar 12, 2019
d482527
fix error numbers
dsyme Mar 12, 2019
26e05dd
fix build
dsyme Mar 12, 2019
8a7f046
update build from source
dsyme Mar 12, 2019
20bf0c5
Merge branch 'diag4' into nameof
dsyme Mar 12, 2019
93ccbbe
update error codes, FSComp.fs and XLF
dsyme Mar 13, 2019
4b91598
fix test
dsyme Mar 13, 2019
1f8f90c
integrate master
dsyme Mar 20, 2019
bf4b336
Merge branch 'master' of https://github.com/Microsoft/visualfsharp in…
dsyme Mar 21, 2019
8303215
Merge branch 'master' of http://github.com/Microsoft/visualfsharp int…
dsyme Mar 22, 2019
23d7a64
merge master
dsyme Mar 22, 2019
98a29ff
merge master
dsyme Mar 26, 2019
6e7e3c4
us proto build on mac and linux
dsyme Mar 27, 2019
21b46ca
us proto build on mac and linux
dsyme Mar 27, 2019
39ec26a
build right proto on unix
dsyme Mar 27, 2019
4b51197
build right proto on unix
dsyme Mar 27, 2019
8a91110
Merge branch 'proto' into nameof
dsyme Mar 28, 2019
7cc99ca
fix build to really use proto
dsyme Mar 28, 2019
48f30d3
Merge branch 'proto' into nameof
dsyme Mar 28, 2019
c15c030
fix build
dsyme Mar 28, 2019
2715844
Merge branch 'proto' into nameof
dsyme Mar 28, 2019
9d61ee7
update tfms for type providers
dsyme Mar 28, 2019
55c0c2f
Merge branch 'proto' into nameof
dsyme Mar 28, 2019
08d89c7
verbose build
dsyme Mar 28, 2019
dac0ac4
Merge branch 'proto' into nameof
dsyme Mar 28, 2019
a7a132c
Merge branch 'master' of http://github.com/Microsoft/visualfsharp int…
dsyme Mar 28, 2019
088951b
try to fix build
dsyme Mar 28, 2019
9c93ac1
don't rebuild proto
dsyme Mar 28, 2019
ddd0ac7
trim list
dsyme Mar 28, 2019
67717f8
disable proto compiler for fslex/fsyacc
dsyme Mar 28, 2019
2eb1528
fix build
dsyme Mar 28, 2019
713b40f
add buildtools props file instead
dsyme Mar 29, 2019
feebc99
add missing file
dsyme Mar 29, 2019
385c4d9
proto
dsyme Mar 29, 2019
9b4ff93
proto
dsyme Mar 29, 2019
40bb2de
simplify
dsyme Mar 29, 2019
2f96a63
more
dsyme Mar 29, 2019
266d695
more
dsyme Mar 29, 2019
0f3ddeb
more
dsyme Mar 29, 2019
7e7fbf0
proto
dsyme Mar 29, 2019
6b20514
try revert
dsyme Mar 29, 2019
8026ae4
Merge branch 'proto2' into nameof
dsyme Mar 29, 2019
bc129ba
Merge branch 'nameof' of https://github.com/dsyme/visualfsharp into n…
dsyme Mar 29, 2019
28cdc00
proto
dsyme Mar 29, 2019
4447207
try again
dsyme Mar 29, 2019
6563fa3
try again
dsyme Mar 29, 2019
f1056d7
disable node reuse
dsyme Mar 29, 2019
7f37ec8
Merge branch 'proto' into nameof
dsyme Mar 29, 2019
ea11aae
fix tests
dsyme Mar 29, 2019
00b9852
Merge branch 'proto' into nameof
dsyme Mar 29, 2019
3456f48
revert diagnostic
dsyme Mar 29, 2019
a74d30b
Merge branch 'proto' into nameof
dsyme Mar 29, 2019
b3209da
revert some changes
dsyme Mar 29, 2019
57292eb
Merge branch 'proto' of https://github.com/dsyme/visualfsharp into proto
dsyme Mar 29, 2019
4ea4705
revert some changes
dsyme Mar 29, 2019
a2df739
Merge branch 'proto' into nameof
dsyme Mar 29, 2019
023a773
Merge branch 'nameof' of https://github.com/dsyme/visualfsharp into n…
dsyme Mar 29, 2019
4f522a2
try again
dsyme Mar 29, 2019
a26b387
Merge branch 'proto' into nameof
dsyme Mar 29, 2019
233105b
merge proto
dsyme Mar 30, 2019
47179ce
fix merge
dsyme Mar 31, 2019
2ff75be
Merge branch 'master' of http://github.com/Microsoft/visualfsharp int…
dsyme Apr 1, 2019
06168fd
merge master
dsyme Apr 16, 2019
2b045f5
Merge branch 'proto' into nameof
dsyme Apr 16, 2019
05d9b0f
merge master
dsyme May 22, 2019
ed457e4
Merge pull request #6827 from dotnet/merges/master-to-feature/nameof
May 23, 2019
c82afaa
Merge pull request #6840 from dotnet/merges/master-to-feature/nameof
May 24, 2019
c6234d1
Merge pull request #6858 from dotnet/merges/master-to-feature/nameof
May 25, 2019
896a6e3
code review
dsyme Jun 3, 2019
ebd6350
Merge branch 'feature/nameof' of http://github.com/Microsoft/visualfs…
dsyme Jun 3, 2019
feeeaf4
Merge remote-tracking branch 'upstream/release/fsharp47' into feature…
KevinRansom Jun 3, 2019
b99db08
fix test
KevinRansom Jun 3, 2019
6e23fd5
update surface area tests
KevinRansom Jun 4, 2019
d6e8fab
revert build
KevinRansom Jun 4, 2019
37b638e
Build proto compiler
KevinRansom Jun 4, 2019
664d124
Merge branch 'release/fsharp47' of http://github.com/Microsoft/visual…
dsyme Jun 4, 2019
15a5f73
Merge branch 'release/fsharp47' of http://github.com/Microsoft/visual…
dsyme Jun 15, 2019
a3287ce
merge
KevinRansom Jun 18, 2019
31bbe42
merge
KevinRansom Jun 18, 2019
5200435
tweaks
KevinRansom Jun 18, 2019
7c9bfe5
Merge branch 'release/fsharp47' into feature/nameof
KevinRansom Jun 18, 2019
e95cf67
restore
KevinRansom Jun 18, 2019
77121fd
Merge branch 'release/fsharp47' into feature/nameof
dsyme Jul 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
merge master
  • Loading branch information
dsyme committed May 22, 2019
commit 05d9b0f8aff2084660aaab3a75e32fe33abdf7f7
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve F#
title: ''
labels: ''
assignees: ''

---

Please provide a succinct description of the issue.

**Repro steps**

Provide the steps required to reproduce the problem:

1. Step A
2. Step B

If possible attach a zip file with the repro case. This often makes it easier for others to reproduce.
The zip file should ideally represent the situation just before the call/step that is problematic.

**Expected behavior**

Provide a description of the expected behavior.

**Actual behavior**

Provide a description of the actual behaviour observed.

**Known workarounds**

Provide a description of any known workarounds.

**Related information**

Provide any related information (optional):

* Operating system
* .NET Runtime kind (.NET Core, .NET Framework, Mono)
* Editing Tools (e.g. Visual Studio Version, Visual Studio)
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for the F# tools or compiler
title: ''
labels: Feature Request
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
27 changes: 27 additions & 0 deletions .vsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"version": "1.0",
"components": [
"Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Workload.CoreEditor",
"Microsoft.VisualStudio.Component.NuGet",
"Microsoft.Net.Component.4.6.1.TargetingPack",
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
"Microsoft.VisualStudio.Component.Roslyn.LanguageServices",
"Microsoft.VisualStudio.Component.FSharp",
"Microsoft.Net.Core.Component.SDK.2.1",
"Microsoft.NetCore.ComponentGroup.DevelopmentTools.2.1",
"Microsoft.Net.Component.4.7.2.SDK",
"Microsoft.Net.Component.4.7.2.TargetingPack",
"Microsoft.Net.ComponentGroup.DevelopmentPrerequisites",
"Microsoft.Component.MSBuild",
"Microsoft.VisualStudio.Component.TextTemplating",
"Microsoft.VisualStudio.Component.ManagedDesktop.Core",
"Microsoft.Net.Component.4.6.TargetingPack",
"Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites",
"Microsoft.VisualStudio.Component.FSharp.Desktop",
"Microsoft.VisualStudio.Workload.ManagedDesktop",
"Microsoft.VisualStudio.Component.VSSDK",
"Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites",
"Microsoft.VisualStudio.Workload.VisualStudioExtension"
]
}
172 changes: 0 additions & 172 deletions .vsts-pr.yaml

This file was deleted.

9 changes: 8 additions & 1 deletion .vsts-signed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ variables:
- name: VisualStudioDropName
value: Products/$(System.TeamProject)/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildNumber)

# Variables defined in yml cannot be overridden at queue time; instead overridable variables must be defined in the web UI.
# Commenting out until something like this is supported: https://github.com/Microsoft/azure-pipelines-yaml/pull/129
#variables:
#- name: SkipTests
# defaultValue: false

jobs:
- job: Full_Signed
pool:
Expand All @@ -26,6 +32,7 @@ jobs:
- script: eng\CIBuild.cmd
-configuration $(BuildConfiguration)
-testAll
-officialSkipTests $(SkipTests)
/p:OfficialBuildId=$(BUILD.BUILDNUMBER)
/p:VisualStudioDropName=$(VisualStudioDropName)
/p:DotNetSignType=$(SignType)
Expand Down Expand Up @@ -55,7 +62,7 @@ jobs:
ArtifactName: 'Test Results'
publishLocation: Container
continueOnError: true
condition: succeededOrFailed()
condition: and(succeededOrFailed(), ne(variables['SkipTests'], 'true'))

# Upload VSTS Drop
- task: ms-vseng.MicroBuildTasks.4305a8de-ba66-4d8b-b2d1-0dc4ecbbf5e8.MicroBuildUploadVstsDropFolder@1
Expand Down
6 changes: 2 additions & 4 deletions DEVGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ This will remove any files that are not under version control. This is necessary
Follow the instructions below to build and develop the F# Compiler, Core Library and tools on Windows, macOS and Linux.

- [Developing the F# Compiler (Windows)](#developing-the-f-compiler-windows)
- [Developing the F# Compiler (Linux)](#developing-the-f-compiler-linux)
- [Developing the F# Compiler (macOS)](#developing-the-f-compiler-macos)
- [Developing the F# Compiler (Linux/macOS)](#developing-the-f-compiler-linuxmacos)
- [Developing the Visual F# IDE Tools (Windows Only)](#developing-the-visual-f-ide-tools-windows-only)
- [Notes and Resources](#notes)

Expand All @@ -27,6 +26,7 @@ Follow the instructions below to build and develop the F# Compiler, Core Library
Install

- [.NET Framework 4.7.2](https://dotnet.microsoft.com/download/dotnet-framework/net472)
- [.NET Core 3 SDK](https://dotnet.microsoft.com/download/dotnet-core/3.0)

**NOTE on Windows:**

Expand Down Expand Up @@ -70,9 +70,7 @@ To build and test Visual F# IDE Tools, install these requirements:
- Launch the Visual Studio Installer
- Under the **"Windows"** workload, select **".NET desktop development"**
- Select the optional component **"F# desktop language support"**
- Under the **"Mobile & Gaming"** workload, select **"Mobile development with .NET"**
- Under the **"Other Toolsets"** workload, select **"Visual Studio extension development"**
- On the **"Individual Components"** tab, select **".NET Framework 4.7.2 SDK"** and **".NET Framework 4.7.2 targeting pack"**

Steps to build:

Expand Down
55 changes: 46 additions & 9 deletions FSharpBuild.Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,26 +1,63 @@
<Project>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<Import Project="eng\targets\Imports.targets" />
<Import Project="eng\targets\NuGet.targets" />
<Import Project="eng\targets\NGenBinaries.targets" />
<Import Project="FSharp.Profiles.props" />

<PropertyGroup>
<CompileDependsOn>$(CompileDependsOn);CopyAndSubstituteTextFiles</CompileDependsOn>
</PropertyGroup>

<Target Name="CopyAndSubstituteTextFiles"
Inputs="@(CopyAndSubstituteText)"
Outputs="@(CopyAndSubstituteText->'$(OutDir)%(TargetFilename)')">
Outputs="@(CopyAndSubstituteText->'$(IntermediateOutputPath)%(Filename)%(Extension)')"
BeforeTargets="BeforeBuild">

<PropertyGroup>
<__TargetFilePath>@(CopyAndSubstituteText->'$(IntermediateOutputPath)%(Filename)%(Extension)')</__TargetFilePath>
<__TargetFileName>@(CopyAndSubstituteText->'%(Filename)%(Extension)')</__TargetFileName>

<_ReplacementText>$([System.IO.File]::ReadAllText('%(CopyAndSubstituteText.FullPath)'))</_ReplacementText>
<_ReplacementText Condition="'%(CopyAndSubstituteText.Pattern1)' != ''">$(_ReplacementText.Replace('%(CopyAndSubstituteText.Pattern1)', '%(CopyAndSubstituteText.Replacement1)'))</_ReplacementText>
<_ReplacementText Condition="'%(CopyAndSubstituteText.Pattern2)' != ''">$(_ReplacementText.Replace('%(CopyAndSubstituteText.Pattern2)', '%(CopyAndSubstituteText.Replacement2)'))</_ReplacementText>
</PropertyGroup>
<WriteLinesToFile File="$(OutDir)%(CopyAndSubstituteText.TargetFilename)" Lines="$(_ReplacementText)" Overwrite="true" />

<MakeDir
Directories="$(IntermediateOutputPath)"
Condition="!Exists('$(IntermediateOutputPath)')" />
<WriteLinesToFile File="$(__TargetFilePath)" Lines="$(_ReplacementText)" Overwrite="true" WriteOnlyWhenDifferent="true" />

<!-- Make sure it will get cleaned -->
<ItemGroup >
<None Include="$(__TargetFilePath)" Condition="'$(__TargetFileName)' == 'App.config'" CopyToOutputDirectory="Never" />
<None Include="$(__TargetFilePath)" Condition="'$(__TargetFileName)' != 'App.config'" CopyToOutputDirectory="PreserveNewest" />
<FileWrites Include="$(__TargetFilePath)" Condition="'$(__TargetFileName)' != 'App.config'" />
</ItemGroup>
</Target>

<Target Name="_GenerateBuildPropertiesFile"
Outputs="$(IntermediateOutputPath)buildproperties.fs"
BeforeTargets="BeforeBuild"
Condition="'$(Language)'=='F#'">

<ItemGroup>
<_BuildPropertyLines Remove="@(_BuildPropertyLines)" />
<_BuildPropertyLines Include="// &lt;auto-generated &gt;" />
<_BuildPropertyLines Include="// &lt;Generated by the FSharp WriteCodeFragment class./&gt;" />
<_BuildPropertyLines Include="// &lt;/auto-generated/&gt;" />
<_BuildPropertyLines Include="//" />
<_BuildPropertyLines Include="module internal FSharp.BuildProperties" />
<_BuildPropertyLines Include="let fsProductVersion = &quot;$(FSPRODUCTVERSION)&quot;" />
<_BuildPropertyLines Include="let fsLanguageVersion = &quot;$(FSLANGUAGEVERSION)&quot;" />
</ItemGroup>

<MakeDir
Directories="$(IntermediateOutputPath)"
Condition="!Exists('$(IntermediateOutputPath)')" />
<WriteLinesToFile File="$(IntermediateOutputPath)buildproperties.fs" Lines="@(_BuildPropertyLines)" Overwrite="true" WriteOnlyWhenDifferent="true" />

<!-- Make sure it will get cleaned -->
<CreateItem Include="$(OutDir)%(CopyAndSubstituteText.TargetFilename)">
<Output TaskParameter="Include" ItemName="FileWrites" />
</CreateItem>
<ItemGroup>
<FileWrites Include="$(IntermediateOutputPath)buildproperties.fs" />
<CompileBefore Include="$(IntermediateOutputPath)buildproperties.fs" />
</ItemGroup>
</Target>

</Project>
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.