Skip to content

Compiler prevents adding attributes in front of { #7814

@benadamstyles

Description

@benadamstyles

The compiler (v11) does not support @s.strict in the following structure:

@schema
type t = @s.strict {
  email: string,
  name: string,
}

This is expected to work at least by some library developers, see original bug report: DZakh/sury#151

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