Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarfgp committed Sep 28, 2024
1 parent f050827 commit 2424b52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions tests/fsharp/typecheck/sigs/neg59.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ neg59.fs(15,13,15,22): typecheck error FS3096: 'groupJoin' must be followed by a

neg59.fs(15,44,15,45): typecheck error FS0039: The value or constructor 'j' is not defined.

neg59.fs(25,15,25,18): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.
neg59.fs(25,23,25,40): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.

neg59.fs(31,15,31,18): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.
neg59.fs(31,23,31,24): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.

neg59.fs(36,15,36,18): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.
neg59.fs(36,23,36,40): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.

neg59.fs(42,15,42,18): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.
neg59.fs(42,23,42,24): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.

neg59.fs(49,15,49,27): typecheck error FS3090: An if/then/else expression may not be used within queries. Consider using either an if/then expression, or use a sequence expression instead.

Expand Down
8 changes: 4 additions & 4 deletions tests/fsharp/typecheck/sigs/neg61.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ neg61.fs(114,13,114,21): typecheck error FS3145: This is not a known query opera

neg61.fs(114,22,114,23): typecheck error FS0001: The type 'int' does not support the operator 'truncate'

neg61.fs(133,9,133,12): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.
neg61.fs(133,17,133,20): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.

neg61.fs(140,9,140,12): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.
neg61.fs(140,17,140,20): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.

neg61.fs(148,9,148,12): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.
neg61.fs(148,20,148,23): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.

neg61.fs(156,9,156,12): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.
neg61.fs(156,21,156,22): typecheck error FS3147: This 'let' definition may not be used in a query. Only simple value definitions may be used in queries.

neg61.fs(171,13,171,18): typecheck error FS3099: 'sumBy' is used with an incorrect number of arguments. This is a custom operation in this query or computation expression. Expected 1 argument(s), but given 0.

Expand Down

0 comments on commit 2424b52

Please sign in to comment.