Skip to content

Error: Inline whitespace #158

@aspeddro

Description

@aspeddro
exception Exit = Terminate 
(source_file [0, 0] - [1, 0]
  (ERROR [0, 0] - [0, 26]
    (variant_identifier [0, 10] - [0, 14])
    (module_identifier [0, 17] - [0, 26])))
../../test-filetypes/out.res	0 ms	(ERROR [0, 0] - [0, 26])
module type IntSum = {
  let x: int 
  let y: int 

  let add: (int, int) => int
}
(source_file [0, 0] - [6, 0]
  (module_declaration [0, 0] - [5, 1]
    name: (module_identifier [0, 12] - [0, 18])
    definition: (block [0, 21] - [5, 1]
      (ERROR [1, 2] - [2, 12]
        (let_binding [1, 2] - [1, 12]
          (value_identifier [1, 6] - [1, 7])
          (type_annotation [1, 7] - [1, 12]
            (type_identifier [1, 9] - [1, 12])))
        (let_binding [2, 2] - [2, 12]
          (value_identifier [2, 6] - [2, 7])
          (type_annotation [2, 7] - [2, 12]
            (type_identifier [2, 9] - [2, 12]))))
      (let_binding [4, 2] - [4, 28]
        (value_identifier [4, 6] - [4, 9])
        (type_annotation [4, 9] - [4, 28]
          (function_type [4, 11] - [4, 28]
            (function_type_parameters [4, 11] - [4, 21]
              (parameter [4, 12] - [4, 15]
                (type_identifier [4, 12] - [4, 15]))
              (parameter [4, 17] - [4, 20]
                (type_identifier [4, 17] - [4, 20])))
            (type_identifier [4, 25] - [4, 28])))))))
../../test-filetypes/out.res	0 ms	(ERROR [1, 2] - [2, 12])

image

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