-
Notifications
You must be signed in to change notification settings - Fork 805
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove old error bsl in component tests to avoid confusion (#17653)
- Loading branch information
Showing
271 changed files
with
425 additions
and
425 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/checked/unrecogarg.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS0243" status="error">Unrecognized option: .+</Expects> | ||
|
||
#light | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...arp.Compiler.ComponentTests/CompilerOptions/fsc/determinism/pathmapRequiresPortablePdb.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// #NoMT #CompilerOptions #Determinism | ||
//<Expects id="FS2027" status="error">--pathmap can only be used with portable PDBs \(--debug:portable or --debug:embedded\)</Expects> | ||
|
||
exit 0 |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/determinism/pathmapValid.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// #NoMT #CompilerOptions #Determinism | ||
//<Expects id="FS2028" status="error">Invalid path map\. Mappings must be comma separated and of the format 'path=sourcePath'</Expects> | ||
|
||
exit 0 |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/flaterrors/E_MultiLine01.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/flaterrors/E_MultiLine03.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
// Test that using [--flaterrors] does not make an impact on regular single-line error messages | ||
//<Expects id="FS0039" status="error">The value or constructor 'b' is not defined</Expects> | ||
|
||
|
||
let a = b |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_01.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS0243" status="error">Unrecognized option: '--PLATFORM'</Expects> | ||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_02.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS0243" status="error">Unrecognized option: '--PlatForm'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_03.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS1064" status="error">Unrecognized platform 'ITANIUM', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_04.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS1064" status="error">Unrecognized platform 'ANYCPU', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_05.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS1064" status="error">Unrecognized platform 'X86', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_06.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS1064" status="error">Unrecognized platform 'X64', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_07.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS1064" status="error">Unrecognized platform 'IA64', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_08.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS1064" status="error">Unrecognized platform 'i386', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_09.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS1064" status="error">Unrecognized platform 'AMD64', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects> | ||
|
||
|
||
printfn "Finished" |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_10.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS1064" status="error">Unrecognized platform 'PPC', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_11.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS0243" status="error">Unrecognized option: '--platform-'</Expects> | ||
|
||
|
||
printfn "Finished" |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_12.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS0243" status="error">Unrecognized option: '--PLATFORM\+'</Expects> | ||
|
||
|
||
printfn "Finished" |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_13.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS0243" status="error">Unrecognized option: '---platform'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_15.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS1064" status="error">Unrecognized platform 'ARM', valid values are 'x86', 'x64', 'Itanium', 'anycpu32bitpreferred', and 'anycpu'</Expects> | ||
|
||
|
||
printfn "Finished" | ||
|
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/platform/error_16.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS3150" status="error">The 'anycpu32bitpreferred' platform can only be used with EXE targets\. You must use 'anycpu' instead\.</Expects> | ||
|
||
module M | ||
printfn "Finished" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/error_01.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS0243" status="error">Unrecognized option: '--Times'</Expects> | ||
|
||
#light | ||
printfn "Finished" |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/error_02.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS0243" status="error">Unrecognized option: '--times-'</Expects> | ||
|
||
#light | ||
printfn "Finished" |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/times/error_03.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
//<Expects id="FS0243" status="error">Unrecognized option: '--times\+'</Expects> | ||
|
||
#light | ||
printfn "Finished" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_with_warnaserror01.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
// Regression test for FSHARP1.0:4867 | ||
// nowarn has no effect if "Warning level = 4" and "Warnings as errors" | ||
//<Expects id="FS0040" span="(6,48)" status="error">This and other recursive references to the object\(s\) being defined will be checked for initialization-soundness at runtime through the use of a delayed reference\. This is because you are defining one or more recursive objects, rather than recursive functions\. This warning may be suppressed by using '#nowarn "40"' or '--nowarn:40'\.$</Expects> | ||
|
||
|
||
let rec f = new System.EventHandler(fun _ _ -> f.Invoke(null,null)) |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/nowarn_with_warnaserror02.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
// Regression test for FSHARP1.0:4867 | ||
// nowarn has no effect if "Warning level = 4" and "Warnings as errors" | ||
//<Expects id="FS0040" span="(7,48)" status="error">This and other recursive references to the object\(s\) being defined will be checked for initialization-soundness at runtime through the use of a delayed reference\. This is because you are defining one or more recursive objects, rather than recursive functions\. This warning may be suppressed by using '#nowarn "40"' or '--nowarn:40'</Expects> | ||
|
||
#nowarn "21" | ||
|
||
let rec f = new System.EventHandler(fun _ _ -> f.Invoke(null,null)) |
2 changes: 1 addition & 1 deletion
2
tests/FSharp.Compiler.ComponentTests/CompilerOptions/fsc/warn/warn_level6.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// #Regression #NoMT #CompilerOptions | ||
|
||
//<Expects id="FS1050" status="error">Invalid warning level '6'</Expects> | ||
|
2 changes: 1 addition & 1 deletion
2
.../Conformance/BasicGrammarElements/AccessibilityAnnotations/Basic/E_ExposeLessVisible01.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// #Regression #Conformance #DeclarationElements #Accessibility | ||
//<Expects id="FS0410" status="error" span="(5,19)">The type 'A' is less accessible than the value, member or type 'x' it is used in</Expects> | ||
|
||
|
||
type internal A = { x : int } | ||
type public B = { x : A[] } |
2 changes: 1 addition & 1 deletion
2
...ts/Conformance/BasicGrammarElements/AccessibilityAnnotations/Basic/E_LocalLetBinding02.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rmance/BasicGrammarElements/AccessibilityAnnotations/Basic/E_MoreAccessibleBaseClass01.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...rmance/BasicGrammarElements/AccessibilityAnnotations/Basic/E_MoreAccessibleBaseClass02.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...onformance/BasicGrammarElements/AccessibilityAnnotations/Basic/E_PrivateImplicitCtor01.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ce/BasicGrammarElements/AccessibilityAnnotations/Basic/E_ProtectedThingsInaccessible01.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.