Florian Verdonck
02b9e83060
Add recovery rules for SynField. ( #15475 )
2023-06-26 16:48:39 +02:00
Eugene Auduchinok
ae5e5fdc41
Parser: recover on unfinished constructors ( #15440 )
...
* Parser: recover on unfinished 'as' in constructors
* Update baselines
* Update baselines
* More tests
* Update baselines
2023-06-26 15:32:32 +02:00
Eugene Auduchinok
74a91941a5
Parser: recover on unfinished `val` fields and auto properties ( #15478 )
...
* Parser: recover on unfinished `val` fields and auto properties
* Fantomas
2023-06-26 14:21:34 +02:00
Janusz Wrobel
5225dc8a98
Graph-based type-checking: fix when node processing throws ( #15479 )
...
* Graph-based type-checking: fix when node processing throws
2023-06-25 21:54:08 +02:00
Eugene Auduchinok
69d74d853f
Parser: recover on unfinished `inherit` ( #15476 )
2023-06-25 21:49:02 +02:00
Tomas Grosup
662076f7a7
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-25 21:46:28 +02:00
Ayrat Hudaygulov
e25475c771
Introduces better diagnostic for overriding members with tuple arguments ( #15308 )
...
* Introduces better diagnostic for overriding members with tuple arguments
https://github.com/dotnet/fsharp/issues/15307
2023-06-23 19:11:20 +02:00
Vlad Zarytovskii
064dcea2b2
Merge pull request #15473 from dotnet/merges/main-to-release/dev17.7
...
Merge main to release/dev17.7
2023-06-23 15:15:53 +02:00
Vlad Zarytovskii
a0ec04e765
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-23 14:28:51 +02:00
dotnet bot
6f9c92a445
Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2207358 ( #15464 )
...
* Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2206418
---------
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2023-06-23 11:39:33 +00:00
Tomas Grosup
7c30bc866b
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-23 12:48:53 +02:00
Kevin Ransom (msft)
fe42eaaef0
Merge pull request #15470 from dotnet/merges/main-to-release/dev17.7
...
Merge main to release/dev17.7
2023-06-22 10:21:45 -07:00
Kevin Ransom (msft)
b2fa89c3d1
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-22 09:31:26 -07:00
kerams
3fd4b6594b
Improve error recovery of union case definitions ( #15468 )
...
* Improve error recovery of union case definitions
* Obey Fantomas
* Extend test
2023-06-22 15:15:30 +02:00
Vlad Zarytovskii
3b723067a1
Merge pull request #15465 from dotnet/merges/main-to-release/dev17.7
2023-06-22 12:40:18 +02:00
Eugene Auduchinok
f9ed906159
Tokenizer: don't assert non-empty identifiers ( #15462 )
...
* Tokenizer: don't assert non-empty identifiers
* Add test
2023-06-22 12:34:25 +02:00
Eugene Auduchinok
c422e70f4f
Checker: recover on unfinished modules and members ( #15458 )
...
* Checker: recover on unfinished module and member declarations
* Tests/syntax tree: check file to assert type checker doesn't fail
* More tests
* Formatting
2023-06-22 12:08:36 +02:00
kerams
f5c22d0065
Improve diagnostics for malformed anonymous record types ( #15463 )
...
* Improve diagnostics for malformed anonymous records
* Rework
2023-06-22 11:53:26 +02:00
Vlad Zarytovskii
db1699cbc5
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-21 21:37:09 +02:00
Kevin Ransom (msft)
ea7038bf90
Merge pull request #15454 from dotnet/merges/main-to-release/dev17.7
...
Merge main to release/dev17.7
2023-06-21 09:34:26 -07:00
Vlad Zarytovskii
1e84b1f836
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-21 16:56:33 +02:00
Florian Verdonck
e82744c286
Add typar to member when parent type contains the same letter. ( #15445 )
...
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2023-06-21 14:46:54 +02:00
kerams
2e9719ae14
Prioritize anonymous record fields in completions ( #15451 )
2023-06-21 10:48:54 +02:00
dotnet bot
c7664d457b
Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2205460 ( #15453 )
...
* Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2205460
* Localized file check-in by OneLocBuild Task: Build definition ID 499: Build ID 2205460
2023-06-21 10:36:27 +02:00
Vlad Zarytovskii
cb4cce7c44
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-20 22:14:01 +02:00
Florian Verdonck
a22ab7c969
Update error message of parsMultipleAccessibilitiesForGetSet ( #15424 )
...
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
2023-06-20 19:16:42 +02:00
Kevin Ransom (msft)
a225a7d249
Merge pull request #15450 from dotnet/merges/main-to-release/dev17.7
...
Merge main to release/dev17.7
2023-06-20 09:40:09 -07:00
Florian Verdonck
84d5c0357f
Included existing NoWarn value ( #15444 )
2023-06-20 09:24:39 -07:00
Vlad Zarytovskii
33bbd666b7
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-20 17:49:40 +02:00
Vlad Zarytovskii
c2fa112f26
Merge pull request #15442 from dotnet/merges/main-to-release/dev17.7
2023-06-20 14:48:48 +02:00
Florian Verdonck
f9e66b494f
Update FCS NuGet preview feeds ( #15446 )
2023-06-20 14:32:57 +02:00
Eugene Auduchinok
325d6f4631
Parser: recover on unfinished namespaces and top level modules ( #15439 )
...
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
2023-06-20 12:13:56 +02:00
Vlad Zarytovskii
16d07b232c
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-20 00:29:27 +02:00
njlr
ab0e704431
Fix suggested overload from "MergeSource" to "MergeSources" ( #15306 )
...
* Fix suggested overload from "MergeSource" to "MergeSources"
The current error message for when `and!` is used, but an appropriate builder overload is not defined, is incorrect. It suggests adding a `MergeSource` method but it should be called `MergeSources`.
* Update ComputationExpressions.fs
* Refresh xlf
2023-06-19 23:39:16 +02:00
Eugene Auduchinok
7a95c98f55
Parser: recover on unfinished `type` declarations ( #15410 )
...
* Parser: recover on unfinished 'type' declarations
* Fantomas
* Recover
* Revert error text change
* Update baseline
* Update test/baseline
* Update surface area
* Fix checker
* Convert test to syntax tree
* Update baseline
* More test updates
2023-06-19 21:27:38 +02:00
Vlad Zarytovskii
aabf2726e3
Update fsi.fsproj
2023-06-19 20:51:34 +02:00
Vlad Zarytovskii
51a9807d29
Update fsc.fsproj
2023-06-19 20:50:37 +02:00
Florian Verdonck
fd051378c0
Print two members in signature file when the visibility differs between the getter and setter. ( #15435 )
...
* Print two members in signature file when the visibility differs between the getter and setter.
* Add suffix for non index getters.
2023-06-19 18:05:27 +02:00
Eugene Auduchinok
db4dbc1e6c
Parser: recover on unfinished nested modules ( #15402 )
2023-06-19 13:08:22 +02:00
Janusz Wrobel
d632aa4f81
Improve performance of graph-based type-checking - don't validate filepaths unnecessarily ( #15431 )
...
* Avoid checking the same filenames for every graph node.
* Speedup `queryTrie` - don't memoize as that's costly, refactor the code
2023-06-19 10:52:00 +02:00
Vlad Zarytovskii
8d22d490da
Fix plain dotnet build warnings
2023-06-16 18:33:08 +02:00
Vlad Zarytovskii
835e55e130
Merge pull request #15404 from dotnet/merges/main-to-release/dev17.7
2023-06-16 17:35:51 +02:00
Petr
9c55d323c2
Some cleanup in the editor code ( #15412 )
...
* Small cleanup in the editor code
* up
* fantomas
2023-06-16 13:32:23 +02:00
Eugene Auduchinok
61dffdd52e
Parser: recover on unfinished `open` ( #15377 )
2023-06-16 12:40:32 +02:00
Eugene Auduchinok
af18bf0f22
Parser: recover on unfinished 'do' members with new indentation rules ( #15392 )
2023-06-15 16:31:45 +02:00
Petr
d984929551
Democratizing code fixes - part two ( #15398 )
2023-06-15 15:05:59 +02:00
Vlad Zarytovskii
a7e3633263
Merge branch 'release/dev17.7' into merges/main-to-release/dev17.7
2023-06-15 14:07:25 +02:00
Eugene Auduchinok
11f0f70a05
Parser: recover on unfinished simple 'member' declarations ( #15102 )
...
* Parser: recover on unfinished simple 'member' declarations
2023-06-15 13:25:31 +02:00
Kevin Ransom (msft)
c353a3332b
Fix14779 ( #15384 )
...
* FSI Sometimes gets confused by tabs
* also fix 15258
2023-06-15 13:20:11 +02:00
Kevin Ransom (msft)
cd73f3d762
Merge pull request #15400 from dotnet/merges/main-to-release/dev17.7
...
Merge main to release/dev17.7
2023-06-14 19:46:22 -07:00