Closed
Description
What
The following error message is generated from this code sample
type Person { Name : string; Age : int; City : string }
error FS0010: Unexpected symbol '{' in type definition. Expected '(' or other token.
Why
The error message suggests to the user that they should put a ( in to fix the problem (or some other unspecified token), when in fact they have missed the = operator. Many other languages allow you to define types without the = sign, so this is not an uncommon issue.
How
Rewrite the above error to something like error FS0010: Unexpected symbol '{' in type definition. Did you forget to use the = operator e.g. "type Person = { Name ..." .