Граф коммитов

14602 Коммитов

Автор SHA1 Сообщение Дата
Vlad Zarytovskii b494d1e6c0
Run version check on all branches (#17686)
Actually match comment now, I intended it to run everywhere, but forgot to remove condition 🤦 

This will allow us to be more precise with release notes.
2024-09-11 12:03:21 +02:00
Kevin Ransom (msft) 63e37e3ced
Fix quickinfo text (#17682)
* Fix quickinfo text

* realsig and globals

* fantomas

* oops

* fantomas
2024-09-11 02:04:44 -07:00
Kevin Ransom (msft) d1490064a3
Merge branch 'release/dev17.12' into merges/main-to-release/dev17.12 2024-09-11 01:25:36 -07:00
dotnet-maestro[bot] bbd54d1c4b
Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20240909.1 (#17685)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24428.1 -> To Version 10.0.0-alpha.1.24459.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
2024-09-11 05:37:12 +00:00
dotnet-maestro[bot] 7775bfc359
Update dependencies from https://github.com/dotnet/arcade build 20240909.6 (#17684)
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24453.1 -> To Version 9.0.0-beta.24459.6

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
2024-09-11 05:29:02 +00:00
Vlad Zarytovskii 88bf4fd505
Housekeeping: move language version, fix links to release notes for nugets. (#17687)
* wip

* wip

* Fix version
2024-09-10 20:46:51 -07:00
Kevin Ransom (msft) c48797152b
Merge pull request #17688 from dotnet/merges/main-to-release/dev17.12
Merge main to release/dev17.12
2024-09-10 11:54:27 -07:00
Kevin Ransom (msft) cfad4714b8
Merge branch 'release/dev17.12' into merges/main-to-release/dev17.12 2024-09-10 10:12:27 -07:00
Edgar Gonzalez 92754eb9b7
Better `CE` error reporting when using `use!` with `and!` (#17671)
* Better `CE` error reporting when using `use!` with `and!`

* release notes

* use `and!` range instead of `use!`

* Add AndBangKeyword  trivia range

* Update tests

* surface area

* Update SyntaxTreeTests

---------

Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
2024-09-10 18:14:12 +02:00
Martin ac3d3c8bac
Make the interaction between #line and #nowarn directives consistent (#17649)
* fix the checkFile bug

* change the feature flag name

* updated xlf files

* Another small name change

---------

Co-authored-by: Petr <psfinaki@users.noreply.github.com>
2024-09-10 15:51:06 +02:00
Kevin Ransom (msft) ff6f1e4cc3
Merge pull request #17677 from dotnet/merges/main-to-release/dev17.12
Merge main to release/dev17.12
2024-09-09 19:23:35 -07:00
Vlad Zarytovskii e05228db38
Merge branch 'release/dev17.12' into merges/main-to-release/dev17.12 2024-09-09 18:40:44 +00:00
Vlad Zarytovskii e42cff6c96
Oops 2024-09-09 18:00:34 +02:00
dotnet-maestro[bot] 9731b7d360
[main] Update dependencies from dotnet/arcade (#17648)
* Update dependencies from https://github.com/dotnet/arcade build 20240829.5

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24429.3 -> To Version 9.0.0-beta.24429.5

* Update dependencies from https://github.com/dotnet/arcade build 20240903.1

Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24429.5 -> To Version 9.0.0-beta.24453.1

---------

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Petr <psfinaki@users.noreply.github.com>
2024-09-09 15:38:40 +02:00
Vlad Zarytovskii 1c2ac0fea9
Update QuickInfoTests.fs 2024-09-09 15:06:39 +02:00
Jakub Majocha bd1547539b
Better fix for core/quotes tests that broke after xUnit (#17665) 2024-09-09 13:52:43 +02:00
Petr 9df0c3c273
Update TESTGUIDE.md (#17663) 2024-09-09 13:48:48 +02:00
Tomas Grosup 2bd6c4764c
Update failing QuickInfo test (#17672) 2024-09-09 11:12:34 +00:00
Edgar Gonzalez 7bfdd73a8e
Improve active pattern error reporting (#17666)
* Improve active pattern error reporting

* release notes.
2024-09-06 17:55:34 +02:00
Tomas Grosup 20e794dfbe
Address StackOverflowExceptions in typechecking (#17654) 2024-09-06 08:44:46 +00:00
Edgar Gonzalez 67f160cf37
Better error reporting for let bindings. (#17601)
* Use `SynPat` range for let binding errors

* update error range for tcAttributesAreNotPermittedOnLetBindings

* Include typars

* AP better error message

* fantomas

* Fix tests

* fantomas

* update tests

* Add a new compiler error for multi-case partial active patterns are not supported

* use tcPartialActivePattern and add more tests

* update tests

* Update src/Compiler/FSComp.txt

Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>

* Update FSComp.txt

* Update src/Compiler/FSComp.txt

Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>

* more tests

* release notes

* Update xlf

* reduce diff

* update tests

* baselines

* move `neg16.bsl` content to different tests

* move `neg16.bsl` content to different tests

* Update bsl

* Update last failing tests.

* Update last failing tests.

* FactForDESKTOP neg16

* fix bsl

---------

Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>
Co-authored-by: psfinaki <psfinaki@users.noreply.github.com>
2024-09-05 13:23:15 +01:00
Eugene Auduchinok 5f936eb973
Parser: recover on unfinished isConst patterns (#17232)
* Parser: recover on unfinished isConst patterns

* Update baselines

* Update baselines

* Release notes

* Undo change

* Report error at EOF

* Update baselines

* Update baselines

* Fix broken F# build output symbol
2024-09-04 16:23:49 +02:00
Jakub Majocha f18511f2fa
Fix FSharpSuite net472 xUnit migration (#17660)
* fix quotes test, update readme

* Update SpanTests.fs

---------

Co-authored-by: Petr <psfinaki@users.noreply.github.com>
2024-09-03 19:53:34 +02:00
Tomas Grosup bb027e1378
Support consuming IL(C#)-defined generic T with AllowByRefLike anti-constraint (#17597) 2024-09-03 16:47:27 +02:00
Tomas Grosup 11cb682aa5
Nullness - generated ToString() members should override object and return string WithoutNull (#17547)
* ToString on F#-controled types treated as returning a non-nullable string
2024-09-03 16:47:14 +02:00
Jakub Majocha 79c64d973b
Update Xunit version, migrate FSharpSuite.Tests to Xunit (#17652)
* bump xunit, move suite to xunit

* fix

* min diff

* temp disable transparent compiler check

* restore cast tests exact behavior

* cleanup

* unnecessary

* signedtest

* clean

* remove UseCulture

* cleanup
2024-09-03 14:01:27 +02:00
Petr 871f981fc5
Remove old error bsl in component tests to avoid confusion (#17653) 2024-09-03 11:17:45 +02:00
Vlad Zarytovskii 20cca61a54
Merge pull request #17647 from dotnet/merges/main-to-release/dev17.12 2024-08-31 16:09:52 +02:00
Vlad Zarytovskii bb453b34bf
Merge pull request #17646 from dotnet/merges/main-to-release/dev17.12 2024-08-31 12:23:05 +02:00
Vlad Zarytovskii af54ca965a
Merge branch 'release/dev17.12' into merges/main-to-release/dev17.12 2024-08-30 21:19:02 +02:00
Vlad Zarytovskii 27599c066e
Merge pull request #17645 from dotnet/merges/release/dev17.11-to-main 2024-08-30 20:47:04 +02:00
Vlad Zarytovskii 45e24b4b94
Merge pull request #17644 from dotnet/merges/release/dev17.11-to-release/dev17.12 2024-08-30 20:46:46 +02:00
Kevin Ransom (msft) 3bfeaad121
Merge pull request #17643 from dotnet/merges/main-to-release/dev17.12
Merge main to release/dev17.12
2024-08-30 10:57:43 -07:00
Adam Boniecki 99bd001a76
Do not throw from IsUnionCaseTester and handle a case where symbol is not considered a method/property (#17634)
* WIP some unit tests

* Return false instead of throwing

* Fix IsUnionCaseTester for generated code

Seems like methods/properties that are generated in IL, like `get_Is*`
in this case, have `IsMethod` (or `IsProperty`) false for some reason,
even when `IsPropertyGetterMethod` is true. This would result in
`IsUnionCaseTester` giving incorrect answers. This fixes that at
`IsUnionCaseTester`, though it might be worth it to see if it can be
fixed at the root of the issue

* Add a release note

* Move helpers around in unit tests for more reuse

* Add negative unit test

---------

Co-authored-by: Adam Boniecki <abonie@users.noreply.github.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
2024-08-30 10:27:24 -07:00
Vlad Zarytovskii 4afa3507b9
Merge branch 'release/dev17.12' into merges/main-to-release/dev17.12 2024-08-30 18:06:30 +02:00
Vlad Zarytovskii 5e47613e34
Merge pull request #17642 from dotnet/merges/release/dev17.10-to-release/dev17.11
Merge release/dev17.10 to release/dev17.11
2024-08-30 18:06:10 +02:00
dotnet-maestro[bot] 11561af7e0
[main] Update dependencies from dotnet/arcade (#17639)
Microsoft.SourceBuild.Intermediate.arcade , Microsoft.DotNet.Arcade.Sdk
 From Version 9.0.0-beta.24426.3 -> To Version 9.0.0-beta.24429.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-08-30 14:23:29 +00:00
Vlad Zarytovskii 4df97e5e96
Merge pull request #17638 from dotnet/merges/release/dev17.9-to-release/dev17.10
Merge release/dev17.9 to release/dev17.10
2024-08-30 15:23:15 +02:00
dotnet-maestro[bot] 49305dbdca
[main] Update dependencies from dotnet/source-build-reference-packages (#17633)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24426.2 -> To Version 10.0.0-alpha.1.24428.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-08-30 15:20:58 +02:00
Brian Rourke Boll 1f1ee49c0b
Detect `open type` use correctly for enums (#17628)
* Detect `open type` use correctly for enums

* Consider `open type` used when the type is an enum and any of
  the enum cases is used unqualified.

* Update release notes
2024-08-30 15:20:29 +02:00
dawe 138593bd79
Fix wrong [<TailCall>] warning with unit-returning match expression (#17637)
* add unit test for issue 17604

* check if the expr type is unit for match expressions, too.

* add release notes entry

---------

Co-authored-by: Petr <psfinaki@users.noreply.github.com>
2024-08-30 12:48:47 +00:00
Vlad Zarytovskii 3d59a0b0f4
Merge pull request #17626 from dotnet/merges/release/dev17.8-to-release/dev17.9
Merge release/dev17.8 to release/dev17.9
2024-08-30 13:23:36 +02:00
Vlad Zarytovskii 89ce88e5f0
Merge branch 'release/dev17.9' into merges/release/dev17.8-to-release/dev17.9 2024-08-30 13:23:18 +02:00
Vlad Zarytovskii 47b2104422
Merge pull request #17636 from dotnet/merges/main-to-release/dev17.12 2024-08-30 10:11:50 +02:00
Vlad Zarytovskii 82676923a7
Merge branch 'release/dev17.12' into merges/main-to-release/dev17.12 2024-08-30 06:52:41 +02:00
Tomas Grosup dcf7db7673
Change realSig to be `false` by default (#17631)
* Change realSig to be `false` by default

* Adjust tests

* fantomas'd

* quickinfo test

* Update Tests.LanguageService.QuickInfo.fs

---------

Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
2024-08-29 19:04:06 +00:00
Tomas Grosup 9bf5b869b0
Fix UseLocalCompiler.Directory.Build.props (#17542) 2024-08-29 11:19:54 +02:00
Alex Berezhnykh 82981fbeb2
Optimize type interfaces reading from metadata (#17382) 2024-08-29 10:11:23 +02:00
Vlad Zarytovskii 407658e0bc
Increase Linux and macOS timeouts (#17627) 2024-08-29 10:10:57 +02:00
Tomas Grosup ed65dfe307
Merge pull request #17625 from dotnet/merges/release/dev17.7-to-release/dev17.8
Merge release/dev17.7 to release/dev17.8
2024-08-28 19:50:45 +02:00