Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Local module forms in class declarations #5

Open
@dsheets

Description

@dsheets
class my_class =
  let open My_module in
  let x = my_fun my_val in
object
  method x = x
end

is a syntax error.

class my_class =
  let module M = My_module in
  let x = M.my_fun M.my_val in
object
  method x = x
end

is also a syntax error.

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