Skip to content
Success

Changes

Summary

  1. matching: argo => arg_id (commit: 2f57af2) (details)
  2. matching: add a test for do_for_multiple_match flattening failure (commit: 30bb39d) (details)
  3. matching: push simple types to flatten_pattern (commit: f491929) (details)
  4. matching: flatten_simple_pattern does not raise (commit: e17f815) (details)
  5. matching: try => match with exception (commit: ddf93aa) (details)
  6. Changes (commit: f8bf8c3) (details)
The file was modifiedlambda/matching.ml (diff)
Commit 30bb39d7d885c8cba041a08c70a287c8ffff0c89 by gabriel.scherer
matching: add a test for do_for_multiple_match flattening failure

Note: this is due to mk_alpha_env raising Cannot_flatten during
splitting/precompilation.
(commit: 30bb39d)
The file was addedtestsuite/tests/basic/patmatch_for_multiple.ml
Commit f491929b3b228472dc74fe5fe46c7d7df2bb040c by gabriel.scherer
matching: push simple types to flatten_pattern

Unfortunately since the function is exposed and used in translcore we
need to keep the generic one, and introduce a flatten_simple_pattern.
(commit: f491929)
The file was modifiedlambda/matching.ml (diff)
Commit e17f81511ca7f9d330e582bcf157a5eef177e3f6 by gabriel.scherer
matching: flatten_simple_pattern does not raise
(commit: e17f815)
The file was modifiedlambda/matching.ml (diff)
Commit ddf93aa22c8a16c452ca6ad5f54f758876ffcdca by gabriel.scherer
matching: try => match with exception

This makes it clearer where the exception comes from.
(commit: ddf93aa)
The file was modifiedlambda/matching.ml (diff)
The file was modifiedChanges (diff)