Skip to content

Commit d4be0c9

Browse files
committed
Update expected error output, after F* patch
FStarLang/FStar#3972
1 parent be27544 commit d4be0c9

29 files changed

+110
-165
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
>> Got issues: [
2-
* Error 19 at MatchBasic.fst(154,2-156,3):
1+
* Info at MatchBasic.fst(154,2-156,3):
2+
- Expected failure:
33
- Could not verify that this match is exhaustive.
44
- Patterns are incomplete
55
- The SMT solver could not prove the query. Use --query_stats for more
66
details.
77
- Also see: MatchBasic.fst(154,8-154,10)
88
- Other related locations: dummy(0,0-0,0)
99

10-
>>]

test/Test.Recursion.fst.output.expected

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
>> Got issues: [
2-
* Error 19 at Test.Recursion.fst(94,2-94,20):
1+
* Info at Test.Recursion.fst(94,2-94,20):
2+
- Expected failure:
33
- Ill-typed term: ()
44
- Expected a term of type
55
x':
@@ -11,9 +11,8 @@
1111
- The SMT solver could not prove the query. Use --query_stats for more
1212
details.
1313

14-
>>]
15-
>> Got issues: [
16-
* Error 19 at Test.Recursion.fst(141,4-141,22):
14+
* Info at Test.Recursion.fst(141,4-141,22):
15+
- Expected failure:
1716
- Ill-typed term: y - 1
1817
- Expected a term of type
1918
y':
@@ -25,4 +24,3 @@
2524
- The SMT solver could not prove the query. Use --query_stats for more
2625
details.
2726

28-
>>]
Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
>> Got issues: [
2-
* Error 72 at Bug.DesugaringError.fst(11,4-11,5):
1+
* Info at Bug.DesugaringError.fst(11,4-11,5):
2+
- Expected failure:
33
- Identifier not found: a
44
- Hint: Did you mean x or y?
55

6-
>>]
7-
>> Got issues: [
8-
* Error 72 at Bug.DesugaringError.fst(16,12-16,21):
6+
* Info at Bug.DesugaringError.fst(16,12-16,21):
7+
- Expected failure:
98
- Identifier not found: something
109

11-
>>]
12-
>> Got issues: [
13-
* Error 189 at Bug.DesugaringError.fst(31,9-31,10):
10+
* Info at Bug.DesugaringError.fst(31,9-31,10):
11+
- Expected failure:
1412
- Expected expression of type Prims.nat got expression y of type Prims.bool
1513
- See also Bug.DesugaringError.fst(31,4-31,10)
1614

17-
>>]
18-
>> Got issues: [
19-
* Error 189 at Bug.DesugaringError.fst(46,4-46,8):
15+
* Info at Bug.DesugaringError.fst(46,4-46,8):
16+
- Expected failure:
2017
- Expected expression of type Prims.nat got expression true of type Prims.bool
2118

22-
>>]
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
>> Got issues: [
2-
* Error 228 at Bug.SpinLock.fst(45,2-45,4):
1+
* Info at Bug.SpinLock.fst(45,2-45,4):
2+
- Expected failure:
33
- Cannot prove:
44
Pulse.Lib.Reference.pts_to _ ?uu___
55
- In the context:
66
Pulse.Lib.SpinLock.lock_alive my_lock
77
(exists* (v: Prims.int). Pulse.Lib.Reference.pts_to r v)
88

9-
>>]
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,27 @@
1-
>> Got issues: [
2-
* Error 19 at Bug100.fst(10,31-10,33):
1+
* Info at Bug100.fst(10,31-10,33):
2+
- Expected failure:
33
- Subtyping check failed
44
- Expected type FStar.Seq.Base.seq Prims.int
55
got type FStar.Seq.Base.seq Prims.nat
66
- The SMT solver could not prove the query. Use --query_stats for more
77
details.
88
- See also Prims.fst(682,18-682,24)
99

10-
>>]
11-
>> Got issues: [
12-
* Error 19 at Bug100.fst(19,57-19,58):
10+
* Info at Bug100.fst(19,57-19,58):
11+
- Expected failure:
1312
- Subtyping check failed
1413
- Expected type FStar.Seq.Base.seq Prims.int
1514
got type FStar.Seq.Base.seq Prims.nat
1615
- The SMT solver could not prove the query. Use --query_stats for more
1716
details.
1817
- See also Prims.fst(682,18-682,24)
1918

20-
>>]
21-
>> Got issues: [
22-
* Error 19 at Bug100.fst(23,11-23,17):
19+
* Info at Bug100.fst(23,11-23,17):
20+
- Expected failure:
2321
- Ill-typed term: Bug100.pts_to Prims.int a1 s1
2422
- Expected a term of type slprop
2523
- Assertion failed
2624
- The SMT solver could not prove the query. Use --query_stats for more
2725
details.
2826
- Also see: Prims.fst(161,28-183,79)
2927

30-
>>]
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
>> Got issues: [
2-
* Error 228 at Bug107.fst(45,9-45,16):
1+
* Info at Bug107.fst(45,9-45,16):
2+
- Expected failure:
33
- Could not resolve implicit uu___#194
44
of type Prims.int
55
in term Bug107.foo 1 _
66

7-
>>]
8-
>> Got issues: [
9-
* Error 228 at Bug107.fst(56,9-56,16):
7+
* Info at Bug107.fst(56,9-56,16):
8+
- Expected failure:
109
- Could not resolve implicit uu___#194
1110
of type Prims.int
1211
in term Bug107.foo _ 2
1312

14-
>>]
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
>> Got issues: [
2-
* Error 114 at Bug111.fst(13,2-20,3):
1+
* Info at Bug111.fst(13,2-20,3):
2+
- Expected failure:
33
- Could not verify that this match is exhaustive.
44
- Type of pattern (Prims.int) does not match type of scrutinee (FStar.Ghost.erased Prims.int)
55

6-
>>]
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
>> Got issues: [
2-
* Error 72 at Bug113.fst(29,38-29,44):
1+
* Info at Bug113.fst(29,38-29,44):
2+
- Expected failure:
33
- Identifier not found: erased
44

5-
>>]
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
>> Got issues: [
2-
* Error 72 at Bug169.fst(10,24-10,29):
1+
* Info at Bug169.fst(10,24-10,29):
2+
- Expected failure:
33
- Module name SiveT could not be resolved.
44

5-
>>]
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
>> Got issues: [
2-
* Error 19 at Bug174.fst(16,10-16,42):
1+
* Info at Bug174.fst(16,10-16,42):
2+
- Expected failure:
33
- Ill-typed term: !r
44
- Assertion failed
55
- The SMT solver could not prove the query. Use --query_stats for more
@@ -8,4 +8,3 @@
88
- Other related locations: Bug174.fst(16,39-16,40)
99
- See also Bug174.fst(15,1-17,10)
1010

11-
>>]

0 commit comments

Comments
 (0)