Skip to content

Instantly share code, notes, and snippets.

@shubhamkumar13
Created August 4, 2021 18:17
Show Gist options
  • Select an option

  • Save shubhamkumar13/6c142abbd4e39f16b259fa994df20464 to your computer and use it in GitHub Desktop.

Select an option

Save shubhamkumar13/6c142abbd4e39f16b259fa994df20464 to your computer and use it in GitHub Desktop.
error while using gencopy
(base) β”” ~/ocaml-migrate-parsetree M β€Ί π—ˆπ—‡ β€Ί experimental-414-trunk
β€Ί dune build tools/gencopy.exe
File "tools/gencopy.ml", line 79, characters 43-74:
79 | Pat.construct ?loc ?attrs (lid ?loc s) (may_tuple ?loc Pat.tuple args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type Parsetree.pattern option
but an expression was expected of type
(str list * Parsetree.pattern) option
Type Parsetree.pattern is not compatible with type
str list * Parsetree.pattern
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment