Skip to content

pipe autocomplete does not give suggestions #335

Closed
@a-c-sreedhar-reddy

Description

@a-c-sreedhar-reddy
module Test = {
  type t = {name: int}
  let add = (a: t) => a.name + 1
}
let a: Test.t = {name: 4}
// a->

auto-complete does not suggest Test.add in the above example.

When I replace

 | {SharedTypes.item = Value typ} :: _ -> (

with

|  _ :: {SharedTypes.item = Value typ} :: _ -> (

here

This works, but i could not reason out why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions