Skip to content

Conversation

@cristianoc
Copy link
Collaborator

…nd interface.

// module M : {
//   @tag("abc")
//   type t = | A(int)
// } =
// {
//   type t = | A(int)
// }

module M : {
  type t = | @as("abc") A
} =
{
  type t = | A
}

@cristianoc cristianoc requested a review from zth December 7, 2023 10:04
Copy link
Member

@zth zth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing gets me more excited than PRs to includecore.ml and friends!

if err <> [] then err else
let err = match (decl1.type_kind, decl2.type_kind) with
(_, Type_abstract) -> []
(* XXX *)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftover comment?

@cristianoc cristianoc force-pushed the include_check_variant_runtime_repr branch from d5b791e to e3deee2 Compare December 8, 2023 16:45
…nd interface.

```
// module M : {
//   @tag("abc")
//   type t = | A(int)
// } =
// {
//   type t = | A(int)
// }

module M : {
  type t = | @as("abc") A
} =
{
  type t = | A
}
```
@cristianoc cristianoc force-pushed the include_check_variant_runtime_repr branch from e3deee2 to c2bb768 Compare December 8, 2023 16:47
@cristianoc cristianoc merged commit adb55d0 into master Dec 8, 2023
@cristianoc cristianoc deleted the include_check_variant_runtime_repr branch December 8, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants