File tree 4 files changed +4
-3
lines changed
4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
- Exception analysis: add support for Belt modules.
4
4
- Termination analysis: add support for try blocks.
5
5
- Termination analysis: add support for array creation.
6
+ - Termination analysis: add support for polymorphic variant creation.
6
7
7
8
# 2.14.0
8
9
- Fix issue where type dependencies could get lost if the last file processed is an interface file.
Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ module TerminationTypes = {
440
440
let rec testTry = () => {
441
441
try raise (Not_found ) catch {
442
442
| Not_found =>
443
- progress ()
443
+ let _ = #abc ( progress () )
444
444
testTry ()
445
445
| _ =>
446
446
let _ = [(), progress (), ()]
Original file line number Diff line number Diff line change 598
598
Termination Analysis for testTry
599
599
600
600
Termination Analysis
601
- File "./TestCyberTruck.res", line 440, characters 18-164
601
+ File "./TestCyberTruck.res", line 440, characters 18-178
602
602
testTry returns Progress with trace [progress:Progress; testTry:Progress || progress:Progress; testTry:Progress]
603
603
604
604
Termination Analysis Stats
Original file line number Diff line number Diff line change @@ -1154,7 +1154,7 @@ module Compile = {
1154
1154
let cE = e |> expression(~ctx);
1155
1155
let cCases = cases |> List . map(case(~ctx)) |> Command . nondet;
1156
1156
Command . (cE +++ cCases);
1157
- | Texp_variant (_ ) => assert ( false )
1157
+ | Texp_variant (_label , eOpt ) => eOpt |> expressionOpt(~ctx )
1158
1158
| Texp_while (_ ) => assert (false )
1159
1159
| Texp_for (_ ) => assert (false )
1160
1160
| Texp_send (_ ) => assert (false )
You can’t perform that action at this time.
0 commit comments