Skip to content

Inaccurate error in anonymous record copy-and-update #14814

@kerams

Description

@kerams

Repro steps

let t3 (t1: {| gu: string; ff: int |}) = { t1 with ff = 3 }

or sharplab.

Expected behavior

Error saying brace-pipes are required.

Actual behavior

Squiggly under ff with The record label 'ff' is not defined..

Related information

  • VSIX for F# built from main
  • VS 17.6 Preview 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions