Skip to content

Commit 34e368c

Browse files
committed
test by hardcoding nullability in script files
1 parent 475ce96 commit 34e368c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FsAutoComplete.Core/CompilerServiceInterface.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ type FSharpCompilerServiceChecker(hasAnalyzers, typecheckCacheSize, parallelRefe
367367
)
368368

369369
let allFlags =
370-
Array.append [| "--targetprofile:netstandard" |] fsiAdditionalArguments
370+
Array.append [| "--targetprofile:netstandard"; "--checknulls+"; "--define:NULLABLE" |] fsiAdditionalArguments
371371

372372
let! (opts, errors) =
373373
checker.GetProjectOptionsFromScript(

0 commit comments

Comments
 (0)