Skip to content

Commit e04fa56

Browse files
committed
Update baselines
1 parent e74b246 commit e04fa56

File tree

3 files changed

+6
-27
lines changed

3 files changed

+6
-27
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11

2-
neg68.fsx(71,46,71,47): parse error FS0010: Unexpected symbol ')' in binding. Expected incomplete structured construct at or before this point or other token.
2+
neg68.fsx(138,15,138,16): typecheck info FS3370: The use of '!' from the F# library is deprecated. See https://aka.ms/fsharp-refcell-ops. For example, please change '!cell' to 'cell.Value'.
3+
4+
neg68.fsx(158,24,158,26): typecheck info FS3370: The use of ':=' from the F# library is deprecated. See https://aka.ms/fsharp-refcell-ops. For example, please change 'cell := expr' to 'cell.Value <- expr'.

tests/fsharp/typecheck/sigs/neg68.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ type sRealTime
6868
[<Measure>]
6969
type pixels
7070

71-
let G = 6.67e-11<m ^ 3 / (kg s^2))>
71+
let G = 6.67e-11<m ^ 3 / (kg s^2)>
7272
let m_per_AU = 149597870691.0<m/AU>
7373
let AU_per_m = 1.0/m_per_AU
7474
let Pixels_per_AU = 200.0<pixels/AU>
Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,3 @@
1+
neg68.fsx(138,15,138,16): typecheck info FS3370: The use of '!' from the F# library is deprecated. See https://aka.ms/fsharp-refcell-ops. For example, please change '!cell' to 'cell.Value'.
12

2-
neg68.fsx(71,46,71,47): parse error FS0010: Unexpected symbol ')' in binding. Expected incomplete structured construct at or before this point or other token.
3-
4-
neg68.fsx(71,32,71,33): typecheck error FS0062: This construct is for ML compatibility. Consider using the '+' operator instead. This may require a type annotation to indicate it acts on strings. This message can be disabled using '--nowarn:62' or '#nowarn "62"'.
5-
6-
neg68.fsx(71,30,71,46): typecheck error FS0001: This expression was expected to have type
7-
'float'
8-
but here has type
9-
'string'
10-
11-
neg68.fsx(71,30,71,31): typecheck error FS1133: No constructors are available for the type 'm'
12-
13-
neg68.fsx(71,43,71,44): typecheck error FS0062: This construct is for ML compatibility. Consider using the '+' operator instead. This may require a type annotation to indicate it acts on strings. This message can be disabled using '--nowarn:62' or '#nowarn "62"'.
14-
15-
neg68.fsx(71,39,71,45): typecheck error FS0001: The type 'string' does not match the type 'int'
16-
17-
neg68.fsx(71,39,71,41): typecheck error FS1133: No constructors are available for the type 'kg'
18-
19-
neg68.fsx(71,44,71,45): typecheck error FS0001: This expression was expected to have type
20-
'string'
21-
but here has type
22-
'int'
23-
24-
neg68.fsx(123,40,123,41): typecheck error FS0001: The type 'bool' does not match the type 'float<'u>'
25-
26-
neg68.fsx(123,38,123,39): typecheck error FS0043: The type 'bool' does not match the type 'float<'u>'
3+
neg68.fsx(158,24,158,26): typecheck info FS3370: The use of ':=' from the F# library is deprecated. See https://aka.ms/fsharp-refcell-ops. For example, please change 'cell := expr' to 'cell.Value <- expr'.

0 commit comments

Comments
 (0)