Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7ae35d

Browse files
forkiKevinRansom
authored andcommitted
Update error message forfsharp#569 (#2635)
* Update error message forfsharp#569* fix test
1 parentb8a8f67 commitf7ae35d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/fsharp/FSStrings.resx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@
10571057
<value>#I directives may only occur in F# script files (extensions .fsx or .fsscript). Either move this code to a script file, add a '-I' compiler option for this reference or delimit the directive with delimit it with '#if INTERACTIVE'/'#endif'.</value>
10581058
</data>
10591059
<dataname="HashReferenceNotAllowedInNonScript"xml:space="preserve">
1060-
<value>#r directives may only occur in F# script files (extensions .fsx or .fsscript). Either move this code to a script file, add a'-r' compiler option for thisreference or delimit the directive with '#if INTERACTIVE'/'#endif'.</value>
1060+
<value>#r directives may only occur in F# script files (extensions .fsx or .fsscript). Either move this code to a script file or replace this reference with the'-r' compiler option. If thisdirective is being executed as user input, you may delimit it with '#if INTERACTIVE'/'#endif'.</value>
10611061
</data>
10621062
<dataname="HashDirectiveNotAllowedInNonScript"xml:space="preserve">
10631063
<value>This directive may only be used in F# script files (extensions .fsx or .fsscript). Either remove the directive, move this code to a script file or delimit the directive with '#if INTERACTIVE'/'#endif'.</value>

‎tests/fsharpqa/Source/Diagnostics/General/E_NoPoundRDirectiveInFSFile01.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// #Regression #Diagnostics
22
// Regression test for FSHARP1.0:3203
3-
//<Expects span="(6,1-6,22)" status="error">#r directives may only occur in F# script files \(extensions \.fsx or \.fsscript\)\. Either move this code to a script file, add a '-r' compiler option for this reference or delimit the directive with '#if INTERACTIVE'/'#endif'</Expects>
3+
//<Expects span="(6,1-6,22)" status="error">#r directives may only occur in F# script files \(extensions \.fsx or \.fsscript\)\.</Expects>
44
moduleM
55

66
#r"DoesNotExist.dll"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp