Skip to content

Cannot detect ArrayOrList cases #28

Open
@gnrkr789

Description

@gnrkr789

Case 1: Pattern Matching

match - with
| SynPat -> SynExpr

SynPat cannot detect, becuase SynPat in this context is a SynPat.ArrayOrList, not a SynPat.ArrayOrListComputed, which means it doesn't provide range information for its elements. As a result, handling this case requires the use of ISourceText``` to infer spacing or other positional details.

Case 2: Nested Lists / Arrays

[ [1; 2]; [3; 4;] ]
[ 
  [ 1; 2;]
  [ 3; 4 ]
]

Currently, checks are not properly executed within nested list or array elements.

Case 3: App Expressions (Function or Indexing Applications): This handle after merge #21

a[1][2]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingunittest neededNeed to add unit tests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions