Skip to content

Commit 56b82d8

Browse files
committed
add testing
1 parent 2025060 commit 56b82d8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

22
neg95.fs(11,9,11,21): typecheck error FS0039: The value or constructor 'StructRecord' is not defined
33

4-
neg96.fs(14,17,14,18): typecheck error FS3205: This feature is deprecated. A 'use' binding may not be marked 'mutable'.
4+
neg96.fs(14,17,14,18): typecheck error FS3205: This feature is deprecated. A 'use' binding may not be marked 'mutable'.
5+
6+
neg96.fs(18,10,18,11): typecheck error FS0039: The type 'X' is not defined
7+
8+
neg96.fs(18,10,18,11): typecheck error FS0039: The type 'X' is not defined

tests/fsharp/typecheck/sigs/neg96.fs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ let x = StructRecord ()
1313
let invalidUse() =
1414
use mutable x = (null : System.IDisposable)
1515
()
16+
17+
18+
type T = X<__SOURCE_DIRECTORY__>
19+

0 commit comments

Comments
 (0)