[RFC FS-1110, 1111] index syntax and ref cell op deprecation#11900
[RFC FS-1110, 1111] index syntax and ref cell op deprecation#11900
Conversation
|
This is ready for an initial review, also design review on the RFC @KevinRansom let's find some time to talk this through |
|
I've updated this PR with information messages suggested here: https://github.com/fsharp/fslang-design/blob/main/RFCs/FS-1111-refcell-op-deprecation.md |
|
Failure: Also |
|
Errors |
|
Unrelated test failure on Linux related to tasks, strange this is the first time I've seen this, it' may be a timing error in the test though 2021-08-14T01:02:05.4720896Z running testNoStackOverflowWithYieldResult
2021-08-14T01:02:05.4782800Z Failed FSharp.Core.UnitTests.Control.Tasks.Basics.testNoDelay [22 ms]
2021-08-14T01:02:05.4783589Z Error Message:
2021-08-14T01:02:05.4784713Z System.Exception : first part didn't run yet
2021-08-14T01:02:05.4785236Z Stack Trace:
2021-08-14T01:02:05.4785921Z at FSharp.Core.UnitTests.Control.Tasks.Basics.testNoDelay() in /home/vsts/work/1/s/tests/FSharp.Core.UnitTests/FSharp.Core/Microsoft.FSharp.Control/Tasks.fs:line 239 |
KevinRansom
left a comment
There was a problem hiding this comment.
I can't wait for this to be in. Some minor questions and nits.
Also I would like to know about let x = (*)
Thanks for this
tests/FSharp.Compiler.ComponentTests/Conformance/LexicalAnalysis/Comments.fs
Show resolved
Hide resolved
tests/FSharp.Compiler.Service.Tests/FSharp.CompilerService.SurfaceArea.netstandard.expected
Show resolved
Hide resolved
tests/FSharp.Compiler.Service.Tests/FSharp.CompilerService.SurfaceArea.netstandard.expected
Outdated
Show resolved
Hide resolved
tests/fsharp/Compiler/Conformance/DataExpressions/ComputationExpressions.fs
Show resolved
Hide resolved
tests/fsharp/core/array-no-dot-warnings/test-langversion-5.0.fsx
Outdated
Show resolved
Hide resolved
|
@KevinRansom Thanks code review issues resolved |
For this specific case above, the code The changes in the code around this were needed because Please list out any cases around |
|
@KevinRansom I cleared your review since all the things have been resolved, and will merge. Let me know if you think of anything more for follow up testing. |
…11900) * indexer notation expr[expr] * add tests * back compat * update tests * fix build * fix build * fix additional case of syntactic sugar triggering warning * fix warning# * fix warnings * fix warning# * improve messages * remvoe test case no longer of interest * emit informationals * update baselines * don't produce informationals for expr.[idx] as yet * tweak error messages * remove dead code * merge main * fix tests * fix tests * fix tests * fix tests * improve diagnostics * add aka.ms links * update baselines * fix error messages * change warning to informational in preview * fix test * code review feedback * code review feedback * Update salsa.fs Co-authored-by: Don Syme <donsyme@fastmail.com>
Continues #11749 from a feature branch
RFC: https://github.com/fsharp/fslang-design/blob/main/preview/FS-1110-index-syntax.md
RFC: https://github.com/fsharp/fslang-design/blob/main/preview/FS-1111-refcell-op-information-messages.md