Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit df81d71

Browse files
dsymeDon Syme
andauthored
[RFC FS-1110, 1111] index syntax and ref cell op deprecation (dotnet#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 <[email protected]>
1 parent 893654e commit df81d71

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Structure/BlockStructureService.fs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module internal BlockStructure =
2323
| Scope.Interface
2424
| Scope.TypeExtension
2525
| Scope.RecordDefn
26-
| Scope.CompExpr
26+
| Scope.ComputationExpr
2727
| Scope.ObjExpr
2828
| Scope.UnionDefn
2929
| Scope.Attribute
@@ -49,7 +49,6 @@ module internal BlockStructure =
4949
| Scope.IfThenElse-> FSharpBlockTypes.Conditional
5050
| Scope.Tuple
5151
| Scope.ArrayOrList
52-
| Scope.CompExprInternal
5352
| Scope.Quote
5453
| Scope.SpecialFunc
5554
| Scope.Lambda
@@ -84,7 +83,7 @@ module internal BlockStructure =
8483
| Scope.Interface
8584
| Scope.TypeExtension
8685
| Scope.RecordDefn
87-
| Scope.CompExpr
86+
| Scope.ComputationExpr
8887
| Scope.ObjExpr
8988
| Scope.UnionDefn
9089
| Scope.Type
@@ -104,7 +103,6 @@ module internal BlockStructure =
104103
| Scope.IfThenElse
105104
| Scope.Tuple
106105
| Scope.ArrayOrList
107-
| Scope.CompExprInternal
108106
| Scope.Quote
109107
| Scope.Lambda
110108
| Scope.LetOrUseBang

0 commit comments

Comments
 (0)