package reason

  1. Overview
  2. Docs
Reason: Syntax & Toolchain for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

reason-3.17.3.tbz
sha256=01c4591b8213ad8c71b6e9f1d180eabd200d441936ee27fe9f99646b75f9865c
sha512=f167097b3254fbf400bb816275f84157a0a9c691ebc877861e80b1c32c7e2ebc553e0a6a0ef073ec89c2c20ce80c42959dc89811e49712edd0c1fe6dce4a90e9

doc/reason.ocaml-migrate-parsetree/Reason_omp/Migrate_408_407/Def/index.html

Module Migrate_408_407.DefSource

Sourcetype missing_feature =
  1. | Pexp_letexception
  2. | Ppat_open
  3. | Pexp_unreachable
  4. | PSig
  5. | Pcstr_record
  6. | Pconst_integer
  7. | Pconst_float
  8. | Pcl_open
  9. | Pcty_open
  10. | Oinherit
  11. | Pwith_typesubst_longident
  12. | Pwith_modsubst_longident
  13. | Pexp_open
  14. | Pexp_letop
  15. | Psig_typesubst
  16. | Psig_modsubst
  17. | Otyp_module
  18. | Immediate64
  19. | Anonymous_let_module
  20. | Anonymous_unpack
  21. | Anonymous_module_binding
  22. | Anonymous_module_declaration
  23. | ExistentialsInPatternMatching
  24. | With_modtype
  25. | With_modtypesubst
  26. | Psig_modtypesubst
  27. | Extension_constructor
  28. | Pcd_vars

Features which are not available in all versions of the frontend

Sourceexception Migration_error of missing_feature * Location.t

Exception thrown by migration functions when a feature is not supported.

Sourceval missing_feature_description : missing_feature -> string

missing_feature_description x is a text describing the feature x.

Sourceval missing_feature_minimal_version : missing_feature -> string

missing_feature_minimal_version x is the OCaml version where x was introduced.

Sourceval migration_error_message : missing_feature -> string

Turn a missing feature into a reasonable error message.