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

Tuples get inferred element names #18374

Merged
merged 46 commits into from
Apr 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
cd510fd
Prototype: target typed "default" (#13603)
jcouv Sep 21, 2016
82268d0
Prototype for "default": semantic model, constant value and more test…
jcouv Feb 14, 2017
6138707
Check GetConstantValue and GetConversion on target-typed default (#17…
jcouv Mar 3, 2017
ac614a4
Fixing merge issues
Mar 11, 2017
dd5945f
Fixing merge issues (#17745)
jcouv Mar 11, 2017
30d21bb
Merge remote-tracking branch 'dotnet/master' into merge-master
jcouv Mar 16, 2017
f8fa450
Merge latest code from master into features/default branch
jcouv Mar 17, 2017
a2723e3
Merge remote-tracking branch 'dotnet/master' into default-LDM
jcouv Mar 27, 2017
80e937f
Refreshing features/default with latest bits from master branch
jcouv Mar 27, 2017
cc1aeba
Make "default" a literal and other tweaks from recent LDM (#18213)
jcouv Apr 4, 2017
26c29e1
Removes control type from NavBar's accessible names
AmadeusW Apr 4, 2017
841b1d3
Remove prototype comment (#18448)
jcouv Apr 5, 2017
649a911
Merge remote-tracking branch 'dotnet/master' into default-mergemaster
Apr 5, 2017
605963e
Merging latest bits from master into features/default
jcouv Apr 5, 2017
4cd929f
Fix extract method test baseline
Apr 12, 2017
15cc4c6
Fix baseline
Apr 12, 2017
b3e9a83
Fix CsharpCodeActions.FastDoubleInvoke flakiness
Apr 12, 2017
ee3fdc5
really fix baseline
Apr 13, 2017
c801008
Merge pull request #18652 from rchande/flakyfastdoubleinvoke
Apr 13, 2017
d78601f
Merge pull request #18646 from rchande/fixextractmethod
Apr 13, 2017
0322017
Make Powershell conform to our guidelines
jaredpar Apr 6, 2017
1161759
Remove unneeded scripts
jaredpar Apr 6, 2017
11e683a
Replace Invoke-Expression with Exec-Expression
jaredpar Apr 13, 2017
78f5f50
Use proper build directory (has configuration)
jaredpar Apr 13, 2017
690909a
Don't offer to convert an 'if' to a 'throw expressoin' if there is an…
CyrusNajmabadi Apr 13, 2017
867867e
Include default in 'Compiler Test Plan.md'
cston Apr 13, 2017
efc98ef
Report an NFW instead of asserting when we encounter a symbol we can'…
CyrusNajmabadi Apr 13, 2017
68e1fbf
Add back the PR template.
Pilchie Apr 13, 2017
7e4b855
Remove escrow terminology
Pilchie Apr 13, 2017
b9ab59d
Merge pull request #18680 from cston/test-plan-update
cston Apr 13, 2017
914c184
Merge pull request #18683 from Pilchie/prtemplate
Pilchie Apr 13, 2017
10029be
Merge pull request #18679 from CyrusNajmabadi/useThrowElseClause
CyrusNajmabadi Apr 13, 2017
3db406c
Merge pull request #18681 from CyrusNajmabadi/oopNFW
CyrusNajmabadi Apr 13, 2017
434e410
Merge pull request #18444 from AmadeusW/dev/amwieczo/navBarAccessibility
Pilchie Apr 14, 2017
3dff8b3
Fix a bug in code gen for switch on byte or ushort (#18521)
gafter Apr 14, 2017
64deb40
Tuples get inferred element names
jcouv Apr 1, 2017
20b7591
Ensure proper handling of a line-break following an incomplete string…
AlekseyTs Apr 14, 2017
3f19fb5
More tests and suggestions on default literal (#18604)
jcouv Apr 14, 2017
bc47f42
Merge remote-tracking branch 'dotnet/master' into default-mergemaster
jcouv Apr 14, 2017
7eaea06
Use CreateStandardCompilation
jcouv Apr 14, 2017
e55fc00
Diagnose a void value in a tuple. (#18228)
gafter Apr 14, 2017
dbbf7fc
Merge remote-tracking branch 'dotnet/master' into default-mergemaster
jcouv Apr 14, 2017
323c0d3
SemanticModel should cache synthesized bound statements in a separate…
AlekseyTs Apr 15, 2017
d0d07e5
Pulling "default" literal feature into master branch
jcouv Apr 15, 2017
67f83f9
Merge remote-tracking branch 'dotnet/master' into features/tuple-names
Apr 15, 2017
9d7ace4
Use CreateStandardCompilation
Apr 15, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
**Customer scenario**

What does the customer do to get into this situation, and why do we think this
is common enough to address for this release. (Granted, sometimes this will be
obvious "Open project, VS crashes" but in general, I need to understand how
common a scenario is)

**Bugs this fixes:**

(either VSO or GitHub links)

**Workarounds, if any**

Also, why we think they are insufficient for RC vs. RC2, RC3, or RTW

**Risk**

This is generally a measure our how central the affected code is to adjacent
scenarios and thus how likely your fix is to destabilize a broader area of code

**Performance impact**

(with a brief justification for that assessment (e.g. "Low perf impact because no extra allocations/no complexity changes" vs. "Low")

**Is this a regression from a previous update?**

**Root cause analysis:**

How did we miss it? What tests are we adding to guard against it in the future?

**How was the bug found?**

(E.g. customer reported it vs. ad hoc testing)
2 changes: 1 addition & 1 deletion Roslyn.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.9
VisualStudioVersion = 15.0.26228.4
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeAnalysisTest", "src\Compilers\Core\CodeAnalysisTest\CodeAnalysisTest.csproj", "{A4C99B85-765C-4C65-9C2A-BB609AAB09E6}"
EndProject
Expand Down
17 changes: 17 additions & 0 deletions build/scripts/build-utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,30 @@ $ErrorActionPreference="Stop"
#
# Original sample came from: http://jameskovacs.com/2010/02/25/the-exec-problem/
function Exec([scriptblock]$cmd, [string]$errorMessage = "Error executing command: " + $cmd) {
# Clear LastExitCode before invoking the script so a windows command failure
# before doesn't carry over. Can happen if the expression is pure powershell
# and not wrapping a windows command.
$lastexitcode = 0

$output = & $cmd

# Need to check both of these cases for errors as they represent different items
# - $?: did the powershell script block throw an error
# - $lastexitcode: did a windows command executed by the script block end in error
if ((-not $?) -or ($lastexitcode -ne 0)) {
Write-Host $output
throw $errorMessage
}
}

# Handy function for executing Invoke-Expression and reliably throwing an
# error if the expression, or the command it invoked, fails
#
# Original sample came from: http://jameskovacs.com/2010/02/25/the-exec-problem/
function Exec-Expression([string]$expr) {
Exec { Invoke-Expression $expr }
}

# Ensure that NuGet is installed and return the path to the
# executable to use.
function Ensure-NuGet() {
Expand Down
4 changes: 2 additions & 2 deletions build/scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ function Run-Build() {
$target = if ($project -ne "") { $project } else { Join-Path $repoDir "Roslyn.sln" }
$buildArgs = "$buildArgs $target"

Invoke-Expression "& `"$msbuild`" $buildArgs"
Exec-Expression "& `"$msbuild`" $buildArgs"
}

function Run-Test() {
$proj = Join-Path $repoDir "BuildAndTest.proj"
Invoke-Expression "& `"$msbuild`" /v:m /p:SkipCoreClr=true /t:Test $proj"
Exec-Expression "& `"$msbuild`" /v:m /p:SkipCoreClr=true /t:Test $proj"
}

try {
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/cibuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ try {
Terminate-BuildProcesses

if ($testDeterminism) {
Exec { & ".\build\scripts\test-determinism.ps1" $bootstrapDir }
Exec { & ".\build\scripts\test-determinism.ps1" -buildDir $bootstrapDir }
Terminate-BuildProcesses
exit 0
}
Expand Down
35 changes: 18 additions & 17 deletions build/scripts/create-perftests.ps1
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
# Create the PerfTests directory under Binaries\$(Configuration). There are still a number
# of tools (in roslyn and roslyn-internal) that depend on this combined directory.
param ([string]$script:binDir = $(throw "Need the binaries directory"))
set-strictmode -version 2.0
[CmdletBinding(PositionalBinding=$false)]
param ([string]$buildDir)

Set-StrictMode -version 2.0
$ErrorActionPreference="Stop"

try
{
[string]$target = join-path $binDir "PerfTests"
write-host "PerfTests: $target"
try {
. (Join-Path $PSScriptRoot "build-utils.ps1")
[string]$target = Join-Path $buildDir "PerfTests"
Write-Host "PerfTests: $target"
if (-not (test-path $target)) {
mkdir $target | out-null
Create-Directory $target
}

pushd $bindir
Push-Location $buildDir
foreach ($subDir in @("Dlls", "UnitTests")) {
pushd $subDir
foreach ($path in gci -re -in "PerfTests") {
write-host "`tcopying $path"
copy -force -recurse "$path\*" $target
Push-Location $subDir
foreach ($path in Get-ChildItem -re -in "PerfTests") {
Write-Host "`tcopying $path"
Copy-Item -force -recurse "$path\*" $target
}
popd
Pop-Location
}
popd
Pop-Location
exit 0
}
catch
{
write-host "Error: $($_.Exception.Message)"
catch {
Write-Host "Error: $($_.Exception.Message)"
exit 1
}

4 changes: 2 additions & 2 deletions build/scripts/deploy-msbuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ try {

Create-Directory $toolsDir
Create-Directory $scratchDir
pushd $toolsDir
Push-Location $toolsDir

$scratchFile = Join-Path $scratchDir "msbuild.txt"
$scratchVersion = Get-Content -raw $scratchFile -ErrorAction SilentlyContinue
Expand Down Expand Up @@ -46,5 +46,5 @@ catch {
exit 1
}
finally {
popd
Pop-Location
}
2 changes: 1 addition & 1 deletion build/scripts/generate-compiler-code.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function Run-Tool($tool, $toolArgs) {
throw "$tool does not exist"
}

Invoke-Expression "& `"$coreRun`" `"$tool`" $toolArgs"
Exec-Expression "& `"$coreRun`" `"$tool`" $toolArgs"
if ((-not $?) -or ($lastexitcode -ne 0)) {
throw "Failed"
}
Expand Down
51 changes: 0 additions & 51 deletions build/scripts/restore.ps1

This file was deleted.

Loading