
  Syntax error!
  syntax_tests/data/parsing/errors/typeDef/inlineRecord.res:6:9-15

  4 ┆ name: string,
  5 ┆ reportCard: {
  6 ┆   passing: bool,
  7 ┆   score: int
  8 ┆ }

  An inline record type declaration is only allowed in a variant constructor's declaration or nested inside of a record type declaration


  Syntax error!
  syntax_tests/data/parsing/errors/typeDef/inlineRecord.res:19:21-31

  17 │ }
  18 │ 
  19 │ let make = (props: {handleClick: Click.t => unit, value: string}) => re
     │ nder(props)
  20 │ 

  An inline record type declaration is only allowed in a variant constructor's declaration or nested inside of a record type declaration

type nonrec entity =
  | Director 
  | Student of {
  name: string ;
  reportCard: < passing: bool  ;score: int   >  } 
type user.address = {
  street: string ;
  country: string }[@@res.inlineRecordDefinition ]
and user = {
  name: string ;
  address: user.address }
let make
  [arity:1](props :
             < handleClick: Click.t -> unit (a:1)  ;value: string   > )
  = render props