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

14602 Коммитов

Автор SHA1 Сообщение Дата
Petr 744aa02fe7
Update some internal guidelines (#18052) 2024-11-22 17:31:49 +00:00
Theodore Tsirpanis 1b15b6ce69
Remove support for `System.AggressiveAttributeTrimming` feature switch. (#18039)
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
Co-authored-by: Petr <psfinaki@users.noreply.github.com>
2024-11-22 15:44:45 +00:00
Petr Pokorny 95cff6b6ee
Skip flaky test (#18051) 2024-11-22 12:51:01 +00:00
Petr 373fb23c5a
Fix singing problems (#18040) 2024-11-21 14:36:02 +00:00
Ella Hathaway e44ae1daec
Add -sign to build.sh (#18024) 2024-11-19 14:36:56 +01:00
Petr fa60e8c0fb
Bump MacOS (#18023)
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
2024-11-18 19:45:12 +01:00
Petr a95a9eacd6
Update DEVGUIDE.md about ILVerify (#17998)
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
2024-11-18 11:16:34 +01:00
dawe 3dff60a1db
Let 'dotnet fsi --help' print a link to the documentation website. (#18006)
* Let 'dotnet fsi --help' print a link to the documentation website.
fixes #16295

* remove language from link

* update some baselines

* more qa baselines
2024-11-15 09:45:06 +01:00
Tom Deseyn a6101d53cc
Use library-packs also when RestoreAdditionalProjectSources is explicitly set. (#18000) 2024-11-15 07:40:02 +00:00
Jakub Majocha fb69e5870e
TestConsole supporting parallel execution (#17993) 2024-11-13 19:33:47 +00:00
Vlad Zarytovskii ec4abb340f
.NET 9 RTM (#17997) 2024-11-13 09:53:10 -08:00
Tomas Grosup f44e2b2583
Nullness - downcasting and typetests should understand nullness information (#17965) 2024-11-11 17:56:15 +01:00
Tomas Grosup 8a4c0536a9
Bugfix:: Make bound values available to filter clause for try-with in seq{} (#17990) 2024-11-11 17:55:45 +01:00
dotnet-maestro[bot] fce13a254c
Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241108.1 (#17984)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24556.1 -> To Version 10.0.0-alpha.1.24558.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2024-11-11 12:22:45 +01:00
Jakub Majocha 636c40a888
threadsafe events collection (#17986) 2024-11-11 11:04:49 +01:00
Jakub Majocha a88665c4ec
Re-enable TransparentCompiler tests (#17966) 2024-11-09 15:26:08 +01:00
Tomas Grosup 87587f8917
String operator always returning nonNull string (#17809) 2024-11-08 08:40:00 +00:00
dotnet-maestro[bot] 493423dc28
Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241106.1 (#17971)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24554.1 -> To Version 10.0.0-alpha.1.24556.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
2024-11-08 07:54:26 +01:00
Vlad Zarytovskii b87d36ec68
ILVerify fixes (#17969) 2024-11-07 15:53:32 +01:00
Martin b19e4199c7
Refactor BufferLocalStore related code (#17959)
* move BufferLocalStore related code to LexerStore.fs

* removed unnecessary reset of BufferLocalStore
2024-11-07 12:36:26 +01:00
Vlad Zarytovskii 545efca14f
Run ILVerify (#17953) 2024-11-07 12:20:56 +01:00
Jakub Majocha faa3c47425
Some more assorted tests improvements (#17931) 2024-11-07 12:20:35 +01:00
Petr 6ad1434bc4
Consolidate test helpers a bit (#17938) 2024-11-07 12:19:20 +01:00
dotnet-maestro[bot] 277f6760f2
[main] Update dependencies from dotnet/source-build-reference-packages (#17937) 2024-11-07 11:23:17 +01:00
Tomas Grosup 4bd7da7b11
Update README.md with contributor call out (#17946) 2024-11-07 08:01:46 +01:00
Tomas Grosup aef7b930c0
Fix missing nullness warning in case of multiple applicable candidates for method resolution (e.g. string and ROS<char>) (#17918)
* speculativeForoverloads exclusion was a mistake

* DateTime not annotated on desktop

* release notes
2024-11-07 08:00:47 +01:00
Tomas Grosup 26edc075d9
Enable parallel compilation features for users of LangVersion=preview (#17948) 2024-11-06 19:45:15 +00:00
Edgar Gonzalez ab3c936a7a
Warn on uppercase identifiers in patterns. (#15816) 2024-11-06 18:03:19 +01:00
Martin 72cf286e02
Warnings for invalid #nowarn arguments (#17871)
* bringing #nowarn args warnings back

* warnings for invalid #nowarn arguments

* fix v8 case

* formatting

* release notes

* further v8 fixes

* fix duplicate prefix removal and add test for it

* another stupid error fixed and test added

* more fixes, tests

* formatting

* simplification and fixes.

* simplification

* removed regex compilation

* fixes as proposed in review

* avoiding Regex

* Using WarningDescription type to get warning number

* More descriptive variable names

Co-authored-by: Petr Pokorny <petr@innit.cz>

* More descriptive variable names - now correct

---------

Co-authored-by: Petr Pokorny <petr@innit.cz>
2024-11-05 14:57:25 +01:00
Vlad Zarytovskii ae618aa683
Update INTERNAL.md 2024-11-05 11:52:07 +01:00
Martin 34a478e0e3
fix OriginalLine (#17949) 2024-11-04 14:46:54 +01:00
Martin 658b245186
simplify the code for diagnostics severity adjustment (#17896) 2024-10-31 19:57:41 +01:00
Vlad Zarytovskii b34e992f02
Add TypeFeasiblySubsumesType cache for individual compiler runs 2024-10-31 17:02:19 +01:00
Jakub Majocha 6a933f695b
Fix Post on disposed mailbox (#17849) (#17922)
* nullify disposed waithandle

* add test

* rns

---------

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2024-10-30 13:10:03 +01:00
dawe d566f53680
Fix missing TailCall warning in Sequential in use scope, #17897 (#17927) 2024-10-29 12:19:27 +01:00
dotnet-maestro[bot] 6860329821
Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20240912.2 (#17919)
optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime
 From Version 1.0.0-prerelease.23614.4 -> To Version 1.0.0-prerelease.24462.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
2024-10-26 17:54:41 -07:00
Jakub Majocha a7b13037cc
potential OCE in graph processsing (#17921)
Co-authored-by: Petr <psfinaki@users.noreply.github.com>
2024-10-25 16:46:45 +02:00
Edgar Gonzalez 3940e0de63
Better ranges for implicit `inherit` error reporting. (#17893)
* Better ranges for implicit `Inherit` error reporting.

* release notes

* format

* Better check

* Update src/Compiler/Checking/CheckDeclarations.fs

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>

* PR comments

* do not use 959

* fix PR comments and add more tests

* moving 959 to type definition range

---------

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2024-10-25 16:29:26 +02:00
Jakub Majocha 08a0649d0e
Restore one test to original (#17923) 2024-10-25 14:47:06 +02:00
ijklam 8b0900c78e
Disallow abstract member with access modifiers in sig file (#17802)
* Disallow abstract member with access modifiers in sig file

* release note

* format

* fix

* fix test

* use access modifier range to show error

* update tests

* update tests

* show both FS0531 and FS0561

---------

Co-authored-by: ijklam <43789618+Tangent-90@users.noreply.github.com>
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
2024-10-24 14:10:10 +02:00
Edgar Gonzalez ee8af8a169
Fix Internal error when analysing incomplete inherit member (#17905)
* Internal error when analysing incomplete inherit member

* release notes

* release notes

* update syntax tree tests

* update baselines

* Update src/Compiler/Service/ServiceParseTreeWalk.fs

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

* Update src/Compiler/Driver/GraphChecking/FileContentMapping.fs

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

* Update src/Compiler/Service/ServiceParsedInputOps.fs

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

* Update src/Compiler/Service/ServiceParsedInputOps.fs

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

* update salsa tests

* try to debug the test using CI

* Fix tests?

---------

Co-authored-by: Brian Rourke Boll <brianrourkeboll@users.noreply.github.com>
Co-authored-by: Petr <psfinaki@users.noreply.github.com>
2024-10-24 12:57:55 +02:00
Jakub Majocha 8ff644a44f
Preserve console encoding when using --utf8output switch without swapping console streams (#17761)
* do not modify stdout

* preserve original encoding

* Revert "preserve original encoding"

This reverts commit 9665470b8b.

* add a test

* wip

* fantomas

* add fsi test

* utf16

---------

Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2024-10-23 23:05:25 +00:00
Kevin Ransom (msft) c802ab5147
Merge pull request #17913 from dotnet/merges/release/dev17.12-to-main
Merge release/dev17.12 to main
2024-10-23 10:18:08 -07:00
Kevin Ransom (msft) 7ca4ade157
Merge branch 'main' into merges/release/dev17.12-to-main 2024-10-23 09:13:54 -07:00
dotnet-maestro[bot] 5caa615446
Update dependencies from https://github.com/dotnet/source-build-reference-packages build 20241015.1 (#17891)
Microsoft.SourceBuild.Intermediate.source-build-reference-packages
 From Version 10.0.0-alpha.1.24514.1 -> To Version 10.0.0-alpha.1.24515.1

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2024-10-23 13:47:25 +02:00
dotnet bot 85f090f46e
Merge release/dev17.12 to main (#17863)
* Revert PR - Make the interaction between #line and #nowarn directives consistent (#17859)

* merge

* revert Reverting PR - Make the interaction between #line and #nowarn directives consistent

* Update LanguageFeatures.fs

---------

Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
2024-10-23 13:47:06 +02:00
Petr Pokorny 1f9bbca7c3
Convert OCE to empty value on certain VS operations (#17906) 2024-10-23 13:42:25 +02:00
Jo Shields e49b91fa7e
Rename SourceBuildUseMonoRuntime property, which is not SB specific (#17778)
This is a coordinated cross-repo change, and might break the build until
all four PRs are merged. The other three are:

Ref: https://github.com/dotnet/source-build/issues/4165
2024-10-23 07:58:07 +02:00
Kevin Ransom (msft) f07a91420b
cherry pick (#17907) 2024-10-22 17:17:36 -07:00
Edgar Gonzalez 315966454b
RFC FS-1033: Deprecate places where `seq` can be omitted (#17772)
* Treat `{ 1..10 }` as sequence expression

* deprecate { start..finish } and { start..step..finish }

* fix build part1

* 3873., chkDeprecatePlacesWhereSeqCanBeOmitted

* more tests

* release notes

* reorg seq tests

* Better check

* fix merge conflicts

* Add code fix for adding missing `seq` before `{…}`

* More tests

* Fmt

* update release notes

* more editor tests

---------

Co-authored-by: Brian Rourke Boll <brianrourkeboll@gmail.com>
2024-10-21 12:31:27 +02:00